Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 110.8 kB / 16.42 MB, free: 6.441 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.00165/0.00165, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002137/1.017, allocations: 0.8231 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/1.017, allocations: 47.72 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.145e-05/1.017, allocations: 4 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/1.017, allocations: 7.875 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/1.017, allocations: 15.86 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.167e-05/1.018, allocations: 15.98 kB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/1.018, allocations: 63.84 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/1.018, allocations: 39.92 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/1.018, allocations: 27.92 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/1.018, allocations: 27.8 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/1.018, allocations: 4 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/1.018, allocations: 8 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/1.018, allocations: 19.86 kB / 1.21 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/1.018, allocations: 35.78 kB / 1.21 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/1.018, allocations: 71.72 kB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.018, allocations: 0 / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.444e-06/1.018, allocations: 0 / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.018, allocations: 0 / 1.21 GB, free: 12.55 MB / 0.9356 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.0005263/1.019, allocations: 385 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.019, allocations: 12.02 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/1.019, allocations: 8.844 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/1.019, allocations: 200.1 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/1.019, allocations: 4.375 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/1.019, allocations: 12.38 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/1.019, allocations: 83.95 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.019, allocations: 4.188 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/1.019, allocations: 11.92 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/1.019, allocations: 7.938 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/1.019, allocations: 35.92 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/1.02, allocations: 432.5 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.077e-05/1.02, allocations: 45.34 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/1.02, allocations: 17.78 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/1.02, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.02, allocations: 38.55 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 3.627e-06/1.02, allocations: 3.984 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001735/1.02, allocations: 53.67 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/1.021, allocations: 81.17 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/1.021, allocations: 164.4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.021, allocations: 25.7 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/1.021, allocations: 108 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/1.021, allocations: 7.906 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/1.021, allocations: 17.72 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.021, allocations: 314.8 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/1.021, allocations: 12 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/1.021, allocations: 17.72 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/1.021, allocations: 29.7 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.021, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.361e-05/1.021, allocations: 61.55 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.021, allocations: 6.031 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.021, allocations: 4.062 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.021, allocations: 7.938 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/1.021, allocations: 7.984 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.021, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/1.021, allocations: 7.906 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/1.021, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 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 9.524e-05/1.021, allocations: 117.8 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/1.022, allocations: 11.84 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/1.022, allocations: 15.8 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.022, allocations: 4 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.022, allocations: 0 / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/1.022, allocations: 89.02 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/1.022, allocations: 0 / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/1.022, allocations: 0 / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/1.022, allocations: 7.984 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001259/1.022, allocations: 192.2 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001923/1.022, allocations: 302 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.282e-05/1.022, allocations: 4 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001014/1.022, allocations: 121.2 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of Backend: time 1.9e-07/1.022, allocations: 4 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005231/1.023, allocations: 98.36 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006055/1.023, allocations: 0.6044 MB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of Templates: time 0.003251/1.027, allocations: 0.5317 MB / 1.214 GB, free: 7.914 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches