Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001122/0.001122, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001037/0.001037, allocations: 185.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.491/1.491, 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 9.1.3-maint.9.1.x/package.mo): time 2.629/2.629, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9977/0.9992, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001898/1.001, allocations: 0.8306 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00011/1.001, allocations: 37.52 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/1.001, allocations: 1.812 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/1.001, allocations: 9.328 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.238e-05/1.001, allocations: 13.78 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.125e-05/1.002, allocations: 20.33 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/1.002, allocations: 60.16 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/1.002, allocations: 36.8 kB / 1.09 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/1.002, allocations: 30.91 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/1.002, allocations: 30.69 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/1.002, allocations: 10.5 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/1.002, allocations: 5.562 kB / 1.09 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/1.002, allocations: 16.61 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/1.002, allocations: 36.2 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/1.002, allocations: 71 kB / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.002, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.684e-06/1.002, allocations: 0 / 1.09 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.317e-06/1.002, allocations: 1.062 kB / 1.09 GB, free: 4.766 MB / 0.8575 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.0004844/1.003, allocations: 378.1 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.003, allocations: 13 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/1.003, allocations: 13.41 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/1.003, allocations: 192.9 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/1.003, allocations: 3.438 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/1.003, allocations: 10.23 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/1.003, allocations: 94.06 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.003, allocations: 192 / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.003, allocations: 5.281 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.003, allocations: 2.562 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/1.003, allocations: 47.03 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/1.004, allocations: 431.2 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/1.004, allocations: 45.72 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/1.004, allocations: 23.3 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/1.004, allocations: 1.75 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.004, allocations: 36.53 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.004, allocations: 0 / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/1.004, allocations: 56.55 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/1.004, allocations: 78.75 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/1.004, allocations: 166.3 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/1.004, allocations: 25.7 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/1.004, allocations: 103.4 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-06/1.004, allocations: 5.672 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/1.004, allocations: 18.11 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/1.004, allocations: 320.2 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/1.004, allocations: 3.688 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/1.004, allocations: 25.08 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/1.005, allocations: 26.86 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.005, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.132e-05/1.005, allocations: 61.91 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.005, allocations: 7.812 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.005, allocations: 1 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.005, allocations: 4.453 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/1.005, allocations: 11.31 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.005, allocations: 3.984 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/1.005, allocations: 6.781 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/1.005, allocations: 2.188 kB / 1.092 GB, free: 2.695 MB / 0.8575 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 5.629e-05/1.005, allocations: 113.4 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/1.005, allocations: 8.703 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/1.005, allocations: 20.78 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.005, allocations: 0.5625 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.005, allocations: 1.344 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/1.005, allocations: 89.78 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.005, allocations: 5.672 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/1.005, allocations: 1.031 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/1.005, allocations: 1.766 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.241e-05/1.005, allocations: 195 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.237e-05/1.005, allocations: 305.1 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.927e-05/1.005, allocations: 7.688 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.568e-05/1.005, allocations: 119.8 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/1.005, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003929/1.006, allocations: 96.53 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003548/1.006, allocations: 0.6121 MB / 1.093 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of Templates: time 0.002764/1.009, allocations: 0.5196 MB / 1.094 GB, free: 1.09 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches