Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, 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.001181/0.001181, 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.445/1.445, 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 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002399/1.011, allocations: 0.8286 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001458/1.011, allocations: 43.78 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/1.011, allocations: 0 / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/1.011, allocations: 11.86 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/1.012, allocations: 15.88 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.526e-05/1.012, allocations: 15.98 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000141/1.012, allocations: 59.84 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/1.012, allocations: 47.91 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/1.012, allocations: 27.86 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/1.012, allocations: 35.78 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/1.012, allocations: 4 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/1.012, allocations: 8 kB / 1.21 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/1.012, allocations: 11.94 kB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/1.012, allocations: 35.8 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/1.012, allocations: 71.64 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.012, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/1.012, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.012, allocations: 4 kB / 1.21 GB, free: 12.44 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.0004312/1.013, allocations: 384.8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.013, allocations: 12.03 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/1.013, allocations: 8.844 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/1.013, allocations: 188.2 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.013, allocations: 12.36 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.013, allocations: 8.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/1.013, allocations: 97.92 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/1.013, allocations: 192 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.013, allocations: 11.92 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.013, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/1.013, allocations: 31.98 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/1.014, allocations: 432.5 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/1.014, allocations: 49.08 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/1.014, allocations: 21.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-06/1.014, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.014, allocations: 34.59 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/1.014, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000156/1.014, allocations: 61.48 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.014, allocations: 85.09 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/1.015, allocations: 150.3 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/1.015, allocations: 25.7 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/1.015, allocations: 108 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/1.015, allocations: 7.891 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/1.015, allocations: 21.7 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.015, allocations: 319.1 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/1.015, allocations: 11.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/1.015, allocations: 17.72 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/1.015, allocations: 21.72 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/1.015, allocations: 7.875 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/1.015, allocations: 61.59 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.015, allocations: 8.062 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/1.015, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.015, allocations: 3.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/1.015, allocations: 8 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.015, allocations: 3.938 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/1.015, allocations: 3.906 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/1.015, allocations: 8 kB / 1.212 GB, free: 9.996 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.495e-05/1.015, allocations: 113.8 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/1.015, allocations: 7.906 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/1.015, allocations: 15.8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.015, allocations: 4 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.015, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/1.016, allocations: 93 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/1.016, allocations: 0 / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/1.016, allocations: 0 / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/1.016, allocations: 0 / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001497/1.016, allocations: 196.2 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001994/1.016, allocations: 298 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.227e-05/1.016, allocations: 7.938 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001/1.016, allocations: 121.5 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of Backend: time 1.81e-07/1.016, allocations: 0 / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004516/1.017, allocations: 98.36 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005266/1.017, allocations: 0.6044 MB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.002847/1.02, allocations: 0.5278 MB / 1.214 GB, free: 7.812 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches