Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001663/0.001663, allocations: 115.5 kB / 16.42 MB, free: 6.48 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.001952/0.001952, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.547/1.547, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.873/2.873, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9961/0.9978, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002978/1.001, allocations: 0.8263 MB / 1.168 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002011/1.001, allocations: 39.78 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.797e-05/1.001, allocations: 4 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.045e-05/1.001, allocations: 7.875 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/1.001, allocations: 15.86 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.747e-05/1.001, allocations: 15.98 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/1.002, allocations: 67.84 kB / 1.168 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/1.002, allocations: 35.98 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/1.002, allocations: 27.91 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/1.002, allocations: 35.73 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/1.002, allocations: 4 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/1.002, allocations: 8 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/1.002, allocations: 19.92 kB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/1.002, allocations: 27.8 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/1.002, allocations: 76.2 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.002, allocations: 0 / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.505e-06/1.002, allocations: 0 / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.57e-05/1.002, allocations: 0 / 1.168 GB, free: 2.621 MB / 0.8887 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.0006504/1.003, allocations: 387.1 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/1.003, allocations: 8.625 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/1.003, allocations: 20.77 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/1.003, allocations: 192.2 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.003, allocations: 4.375 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/1.004, allocations: 12.38 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/1.004, allocations: 96.97 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.004, allocations: 192 / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.004, allocations: 7.938 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.004, allocations: 8 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/1.004, allocations: 31.98 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/1.004, allocations: 436.7 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.98e-05/1.005, allocations: 37.22 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/1.005, allocations: 21.78 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/1.005, allocations: 96 / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.005, allocations: 42.48 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.005, allocations: 0 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/1.005, allocations: 57.47 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/1.005, allocations: 81.36 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/1.005, allocations: 160.5 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/1.005, allocations: 25.7 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/1.005, allocations: 112 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/1.005, allocations: 7.953 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/1.005, allocations: 13.72 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.005, allocations: 318.8 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/1.005, allocations: 8 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/1.005, allocations: 25.7 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/1.005, allocations: 29.66 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.005, allocations: 4 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.85e-05/1.005, allocations: 53.61 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.006, allocations: 4 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.006, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.006, allocations: 12 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/1.006, allocations: 11.92 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.006, allocations: 0 / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/1.006, allocations: 15.88 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/1.006, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 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.0001229/1.006, allocations: 113.8 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/1.006, allocations: 7.953 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/1.006, allocations: 15.8 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.006, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.006, allocations: 4 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/1.006, allocations: 89.06 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.006, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/1.006, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/1.006, allocations: 7.984 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001213/1.006, allocations: 192.2 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002594/1.007, allocations: 306 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.64e-05/1.007, allocations: 7.938 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000127/1.007, allocations: 121.9 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of Backend: time 5.92e-07/1.007, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006256/1.007, allocations: 94.33 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008651/1.008, allocations: 0.6121 MB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of Templates: time 0.003999/1.012, allocations: 0.52 MB / 1.173 GB, free: 13.97 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches