Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.00146/0.00146, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 71.89 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9638/0.9653, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002014/0.9674, allocations: 0.829 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.9675, allocations: 40.72 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.9675, allocations: 2.344 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.9676, allocations: 9.188 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.9677, allocations: 6.266 kB / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.259e-05/0.9677, allocations: 19.83 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.9678, allocations: 67.86 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.968, allocations: 37.62 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.9681, allocations: 26.59 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.9681, allocations: 30.42 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.9682, allocations: 6.125 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.9682, allocations: 6.469 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.9682, allocations: 16.56 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.9682, allocations: 36.44 kB / 1.09 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.9684, allocations: 75.5 kB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9684, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9684, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.9684, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 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.0003761/0.9688, allocations: 378.9 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9688, allocations: 8.594 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.9689, allocations: 14.42 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.969, allocations: 196.2 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.9691, allocations: 3.578 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.9691, allocations: 8.812 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.9692, allocations: 90.64 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.9693, allocations: 1.25 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.9693, allocations: 5.547 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9693, allocations: 6 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.9694, allocations: 39.41 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.9698, allocations: 438.4 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.9699, allocations: 49.64 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.9699, allocations: 15.73 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.9699, allocations: 5.609 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.97, allocations: 40.23 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.97, allocations: 0 / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.9701, allocations: 61.12 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.9702, allocations: 77.62 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.9703, allocations: 159.1 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.9703, allocations: 27.11 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.9704, allocations: 107.9 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.9704, allocations: 5.828 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.9704, allocations: 17.72 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.9705, allocations: 319.3 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.9705, allocations: 7.859 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.9705, allocations: 20.72 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.9706, allocations: 26.95 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9706, allocations: 0.7812 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.031e-05/0.9707, allocations: 61.28 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.9707, allocations: 5.438 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9707, allocations: 0.7188 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9707, allocations: 5.391 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.9708, allocations: 6.328 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.9708, allocations: 0.75 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.9708, allocations: 10.81 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.9708, allocations: 1.5 kB / 1.092 GB, free: 2.691 MB / 0.8575 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 5.408e-05/0.9709, allocations: 113.6 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.9709, allocations: 8.156 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.971, allocations: 16.66 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.971, allocations: 0.8125 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.971, allocations: 0.6875 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.971, allocations: 86.53 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.971, allocations: 2.219 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.9711, allocations: 8.5 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.9711, allocations: 2.734 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.032e-05/0.9712, allocations: 190.6 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.497e-05/0.9713, allocations: 308.7 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.893e-05/0.9714, allocations: 4.75 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.529e-05/0.9714, allocations: 124.8 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of Backend: time 3e-07/0.9714, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004032/0.9718, allocations: 96.77 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003379/0.9722, allocations: 0.6088 MB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of Templates: time 0.002763/0.975, allocations: 0.5233 MB / 1.094 GB, free: 1.09 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches