Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001784/0.001784, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001746/0.001746, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.15 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.771/2.771, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.89 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002685/1.111, allocations: 0.8314 MB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001937/1.111, allocations: 39.8 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/1.111, allocations: 0 / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.527e-05/1.111, allocations: 7.875 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/1.111, allocations: 15.92 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.592e-05/1.111, allocations: 15.98 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/1.111, allocations: 71.77 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/1.112, allocations: 35.98 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/1.112, allocations: 27.92 kB / 1.168 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/1.112, allocations: 27.8 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/1.112, allocations: 8 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/1.112, allocations: 4 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/1.112, allocations: 19.92 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/1.112, allocations: 23.81 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/1.112, allocations: 83.62 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.112, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.903e-06/1.112, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.112, allocations: 0 / 1.168 GB, free: 2.633 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.000556/1.113, allocations: 384.8 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.113, allocations: 8.922 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/1.113, allocations: 8.844 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/1.113, allocations: 200.1 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.113, allocations: 8.375 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/1.113, allocations: 8.375 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/1.113, allocations: 90.33 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.113, allocations: 192 / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.113, allocations: 15.94 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.113, allocations: 0 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.774e-05/1.113, allocations: 39.92 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/1.114, allocations: 436.5 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/1.114, allocations: 45.34 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/1.114, allocations: 17.78 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/1.114, allocations: 4 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.114, allocations: 34.56 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.114, allocations: 0 / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001957/1.115, allocations: 61.67 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/1.115, allocations: 85.14 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/1.115, allocations: 156.3 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/1.115, allocations: 25.7 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/1.115, allocations: 112 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/1.115, allocations: 3.906 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/1.115, allocations: 17.72 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.115, allocations: 318.8 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/1.115, allocations: 8 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/1.115, allocations: 21.66 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/1.115, allocations: 29.7 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.115, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.646e-05/1.115, allocations: 57.55 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.115, allocations: 4 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.115, allocations: 8.062 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.115, allocations: 3.938 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/1.115, allocations: 7.984 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/1.115, allocations: 0 / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/1.116, allocations: 11.84 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/1.116, allocations: 0 / 1.171 GB, free: 196 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.0001035/1.116, allocations: 113.8 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/1.116, allocations: 7.906 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/1.116, allocations: 15.81 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.116, allocations: 4 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.116, allocations: 0 / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/1.116, allocations: 89 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.116, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/1.116, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/1.116, allocations: 7.938 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001173/1.116, allocations: 196.2 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000193/1.116, allocations: 306 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.989e-05/1.116, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.68e-05/1.116, allocations: 119.2 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Backend: time 3.9e-07/1.116, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000458/1.117, allocations: 100.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005352/1.117, allocations: 0.6004 MB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.002775/1.12, allocations: 0.524 MB / 1.173 GB, free: 14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches