Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.002006/0.002006, allocations: 112.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.002201/0.002201, allocations: 190.7 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.655/1.655, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.6/2.6, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 59.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002724/1.056, allocations: 0.8294 MB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001831/1.056, allocations: 35.84 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/1.056, allocations: 4 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/1.056, allocations: 11.86 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/1.056, allocations: 7.875 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.719e-05/1.056, allocations: 23.98 kB / 1.168 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001418/1.056, allocations: 59.84 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/1.056, allocations: 47.95 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.354e-05/1.057, allocations: 23.88 kB / 1.168 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/1.057, allocations: 31.78 kB / 1.168 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/1.057, allocations: 4 kB / 1.168 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/1.057, allocations: 8 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/1.057, allocations: 11.94 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/1.057, allocations: 35.8 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/1.057, allocations: 79.64 kB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.057, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.495e-06/1.057, allocations: 0 / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.453e-06/1.057, 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.000567/1.058, allocations: 388.8 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.058, allocations: 8.625 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/1.058, allocations: 8.844 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/1.058, allocations: 192.2 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.058, allocations: 4.375 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/1.058, allocations: 8.375 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.058, allocations: 98.31 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.058, allocations: 4.188 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.058, allocations: 3.938 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/1.058, allocations: 4 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.839e-05/1.058, allocations: 43.86 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/1.059, allocations: 432.6 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/1.059, allocations: 49.25 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/1.059, allocations: 21.77 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/1.059, allocations: 0 / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/1.059, allocations: 34.56 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.059, allocations: 0 / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002058/1.059, allocations: 57.58 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.059, allocations: 77.11 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/1.06, allocations: 160.9 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/1.06, allocations: 25.7 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/1.06, allocations: 104 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/1.06, allocations: 7.906 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/1.06, allocations: 17.72 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.06, allocations: 319 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/1.06, allocations: 8 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/1.06, allocations: 21.7 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.715e-05/1.06, allocations: 29.66 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.06, allocations: 4 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/1.06, allocations: 61.53 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.06, allocations: 8.062 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.06, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/1.06, allocations: 7.938 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/1.06, allocations: 4 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/1.06, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/1.06, allocations: 11.84 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/1.06, allocations: 0 / 1.171 GB, free: 204 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.0001088/1.061, allocations: 113.8 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/1.061, allocations: 7.906 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/1.061, allocations: 23.8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.061, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.061, allocations: 0 / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/1.061, allocations: 89.09 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/1.061, allocations: 3.984 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/1.061, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/1.061, allocations: 8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001324/1.061, allocations: 192.2 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001858/1.061, allocations: 302 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.062e-05/1.061, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.413e-05/1.061, allocations: 125.9 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of Backend: time 2.81e-07/1.061, allocations: 3.938 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000471/1.062, allocations: 102.8 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005749/1.062, allocations: 0.5966 MB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.003126/1.066, allocations: 0.5123 MB / 1.173 GB, free: 14.02 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches