Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 63.36 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3371, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002224/0.3394, allocations: 0.8253 MB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001285/0.3395, allocations: 39.84 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.3396, allocations: 4 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.3396, allocations: 11.86 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.3397, allocations: 11.81 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.582e-05/0.3398, allocations: 19.98 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.3399, allocations: 59.84 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3401, allocations: 43.97 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.3401, allocations: 31.8 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.3402, allocations: 23.86 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3402, allocations: 8 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.3402, allocations: 4 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.3402, allocations: 23.91 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.3403, allocations: 35.75 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3404, allocations: 71.98 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3404, allocations: 0 / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3404, allocations: 0 / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3404, allocations: 0 / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004497/0.3409, allocations: 371.3 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3409, allocations: 8.031 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.341, allocations: 42.73 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.341, allocations: 12.75 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3412, allocations: 200.1 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3412, allocations: 4.375 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3413, allocations: 12.38 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3414, allocations: 97.59 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3414, allocations: 3.938 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3415, allocations: 3.984 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3415, allocations: 7.938 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.3415, allocations: 35.98 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.3421, allocations: 436.5 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.3421, allocations: 37.22 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.3422, allocations: 13.78 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.3422, allocations: 4 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3422, allocations: 46.58 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3423, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.3424, allocations: 53.48 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3425, allocations: 77.11 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3426, allocations: 164.9 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3426, allocations: 29.7 kB / 1.066 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.3427, allocations: 104 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/0.3427, allocations: 3.906 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3428, allocations: 17.72 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3429, allocations: 322.8 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.3429, allocations: 4 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.343, allocations: 21.7 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.499e-05/0.343, allocations: 33.66 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.343, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.373e-05/0.3431, allocations: 53.61 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3431, allocations: 7.938 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3431, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3432, allocations: 7.984 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.3432, allocations: 7.938 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3432, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.3433, allocations: 15.91 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3433, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.318e-05/0.3434, allocations: 115.6 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.3434, allocations: 11.84 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.3434, allocations: 15.86 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3434, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3435, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3435, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.3438, allocations: 474.8 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3439, allocations: 3.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.3439, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3439, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3439, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3439, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3439, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.061e-05/0.344, allocations: 85.83 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.3441, allocations: 89.02 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3441, allocations: 7.984 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.3441, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.3441, allocations: 4 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.3442, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.3442, allocations: 121.9 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 4.031 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000186/0.3444, allocations: 8 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003604/0.3448, allocations: 0.6191 MB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.3449, allocations: 20.03 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3449, allocations: 0 / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.3449, allocations: 7.938 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.3451, allocations: 11.94 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3463, allocations: 1.324 MB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3465, allocations: 0.6892 MB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.3466, allocations: 12.42 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.3466, allocations: 23.44 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of SimCode: time 1.543e-06/0.3466, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.3637, allocations: 1.549 MB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.755, allocations: 20.52 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches