Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001292/0.001292, allocations: 183.9 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.3/2.3, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9686/0.97, allocations: 140.4 MB / 1.089 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001851/0.9719, allocations: 0.8303 MB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.9721, allocations: 44.77 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.9721, allocations: 1.062 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.9722, allocations: 14.89 kB / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.9723, allocations: 8.438 kB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.849e-05/0.9723, allocations: 21.5 kB / 1.09 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.9725, allocations: 57.64 kB / 1.09 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.9726, allocations: 42.66 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.9727, allocations: 25.69 kB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.9728, allocations: 30.39 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.9728, allocations: 5.25 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.9728, allocations: 10.12 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.9728, allocations: 16.95 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.9729, allocations: 33 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.973, allocations: 71.19 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.973, allocations: 0 / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.973, allocations: 0 / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.973, allocations: 0 / 1.09 GB, free: 4.59 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.0004189/0.9735, allocations: 379.6 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.9735, allocations: 8.188 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.9736, allocations: 14.06 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.9738, allocations: 196.2 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.9738, allocations: 7.031 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.9738, allocations: 10.08 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.974, allocations: 90.48 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.974, allocations: 4.125 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.974, allocations: 9.266 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.974, allocations: 2.188 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.9741, allocations: 36.39 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.9746, allocations: 437.3 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.735e-05/0.9747, allocations: 42.22 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.451e-05/0.9747, allocations: 28.16 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.9747, allocations: 1.891 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.9748, allocations: 35.53 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9748, allocations: 0 / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.9749, allocations: 61.27 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.975, allocations: 81.66 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.9751, allocations: 154.8 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.9751, allocations: 26.8 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.9752, allocations: 107.4 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-06/0.9752, allocations: 5.781 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.9752, allocations: 18.36 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.9753, allocations: 324.2 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.9753, allocations: 4.078 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.9753, allocations: 19.84 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.9754, allocations: 22.88 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9754, allocations: 1.5 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.616e-05/0.9755, allocations: 60.47 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9755, allocations: 9.312 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9755, allocations: 1.359 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9755, allocations: 4.75 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.9756, allocations: 6.453 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.9756, allocations: 1.484 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.104e-05/0.9756, allocations: 5.562 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.9756, allocations: 6.141 kB / 1.092 GB, free: 2.516 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 6.817e-05/0.9757, allocations: 115.3 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.9758, allocations: 7.656 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.9758, allocations: 20.38 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9758, allocations: 1.188 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.9758, allocations: 0.5156 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.9758, allocations: 87.12 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.9759, allocations: 1.875 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.976, allocations: 3.938 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.976, allocations: 2.188 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.831e-05/0.9761, allocations: 199.6 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001039/0.9762, allocations: 297.2 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.314e-05/0.9762, allocations: 8.031 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.785e-05/0.9763, allocations: 125.1 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of Backend: time 3.5e-07/0.9763, allocations: 0 / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.9767, allocations: 100.2 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000482/0.9772, allocations: 0.6082 MB / 1.093 GB, free: 17 MB / 0.8731 GB Notification: Performance of Templates: time 0.002721/0.9799, allocations: 0.5255 MB / 1.094 GB, free: 16.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches