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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 198.6 kB / 16.14 MB, free: 6.699 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.098/3.098, allocations: 482.3 MB / 0.7542 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 66.69 kB / 0.9231 GB, free: 29.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4663, allocations: 162.2 MB / 1.082 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.003156/0.4695, allocations: 0.8912 MB / 1.082 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001762/0.4697, allocations: 39.8 kB / 1.082 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.4698, allocations: 4 kB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.188e-05/0.4699, allocations: 3.938 kB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.47, allocations: 3.984 kB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.691e-05/0.4701, allocations: 15.98 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.4703, allocations: 59.78 kB / 1.083 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.4705, allocations: 39.97 kB / 1.083 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.4706, allocations: 23.88 kB / 1.083 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.4707, allocations: 27.78 kB / 1.083 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.4707, allocations: 4 kB / 1.083 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/0.4707, allocations: 4 kB / 1.083 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.4708, allocations: 16 kB / 1.083 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.4708, allocations: 35.67 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.471, allocations: 64.05 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.471, allocations: 0 / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.746e-06/0.471, allocations: 4 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.471, allocations: 0 / 1.083 GB, free: 12.53 MB / 0.8419 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.0007328/0.4718, allocations: 379.2 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.4718, allocations: 12.03 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.4719, allocations: 8.844 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.4723, allocations: 196.1 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.4723, allocations: 8.375 kB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4724, allocations: 12.38 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.4726, allocations: 93.3 kB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4726, allocations: 192 / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.4727, allocations: 7.938 kB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.4727, allocations: 4 kB / 1.083 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4728, allocations: 39.92 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.4736, allocations: 436.6 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/0.4737, allocations: 41.23 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.4738, allocations: 21.78 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4738, allocations: 0 / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.4739, allocations: 34.56 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.4739, allocations: 0 / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002489/0.4741, allocations: 53.48 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.4742, allocations: 85.09 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.4744, allocations: 161 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4744, allocations: 29.64 kB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.3e-05/0.4745, allocations: 108 kB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.4746, allocations: 7.906 kB / 1.084 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.4746, allocations: 25.61 kB / 1.084 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.4748, allocations: 314.8 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.4748, allocations: 7.984 kB / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.4749, allocations: 21.72 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.4749, allocations: 25.66 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4749, allocations: 4 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.475, allocations: 57.62 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4751, allocations: 4 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4751, allocations: 3.938 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4751, allocations: 4 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.4752, allocations: 8.062 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.4752, allocations: 0 / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.4753, allocations: 15.78 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.4753, allocations: 0 / 1.085 GB, free: 10.08 MB / 0.8419 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 0.0001233/0.4754, allocations: 113.8 kB / 1.085 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.4755, allocations: 7.906 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.4755, allocations: 19.8 kB / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4755, allocations: 96 / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4755, allocations: 0 / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4755, allocations: 7.984 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.476, allocations: 466.8 kB / 1.085 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.476, allocations: 4 kB / 1.085 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.476, allocations: 4 kB / 1.085 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4761, allocations: 0 / 1.085 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.4761, allocations: 4 kB / 1.085 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.4761, allocations: 3.984 kB / 1.085 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4761, allocations: 3.938 kB / 1.085 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.4762, allocations: 85.81 kB / 1.086 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.4763, allocations: 89 kB / 1.086 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4763, allocations: 0 / 1.086 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.4763, allocations: 0 / 1.086 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.4763, allocations: 4 kB / 1.086 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4764, allocations: 0 / 1.086 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001143/0.4765, allocations: 127.3 kB / 1.086 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4765, allocations: 0 / 1.086 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001881/0.4767, allocations: 8 kB / 1.086 GB, free: 9.035 MB / 0.8419 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.0001607/0.4768, allocations: 97.92 kB / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.477, allocations: 23.92 kB / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.477, allocations: 0 / 1.086 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.477, allocations: 8.125 kB / 1.086 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.4772, allocations: 13.55 kB / 1.086 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.4776, allocations: 184.5 kB / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.478, allocations: 0.6965 MB / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.4781, allocations: 4.438 kB / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.4781, allocations: 11.44 kB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.4781, allocations: 0 / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of Templates: time 0.003372/0.4815, allocations: 432.6 kB / 1.087 GB, free: 7.516 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/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