Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 114.1 kB / 16.42 MB, free: 6.504 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.001289/0.001289, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.396/1.396, 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.284/2.284, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 59.91 kB / 0.9516 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9681/0.9696, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002174/0.9718, allocations: 0.8244 MB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.972, allocations: 40.7 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.9721, allocations: 1.125 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.9721, allocations: 10.42 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.9722, allocations: 10.42 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.331e-05/0.9723, allocations: 19.52 kB / 1.09 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.9724, allocations: 60.12 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.9726, allocations: 36.95 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.398e-05/0.9727, allocations: 29.52 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.777e-05/0.9728, allocations: 35.08 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.9728, allocations: 9.656 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.9729, allocations: 10.44 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.9729, allocations: 17.08 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.9729, allocations: 32.89 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.9731, allocations: 76.05 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.9731, allocations: 1.219 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9731, allocations: 0 / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.9731, allocations: 0 / 1.09 GB, free: 4.785 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.0003872/0.9735, allocations: 379.3 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.9736, allocations: 11.91 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.9736, allocations: 18.56 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.9738, allocations: 187.9 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.9738, allocations: 3.344 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.9738, allocations: 11.5 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.974, allocations: 93.66 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.974, allocations: 192 / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.974, allocations: 5.094 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.974, allocations: 1.625 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.9741, allocations: 44.41 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.9746, allocations: 430.2 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.804e-05/0.9747, allocations: 45.55 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.9747, allocations: 24.7 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.9747, allocations: 0.7969 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.9747, allocations: 35.81 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.9748, allocations: 0 / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.9749, allocations: 57.12 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.975, allocations: 79.22 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.9751, allocations: 161.8 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.9752, allocations: 26.48 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.9752, allocations: 104.9 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.9753, allocations: 4.609 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.9753, allocations: 18.17 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.9754, allocations: 320.6 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.9754, allocations: 3.391 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.9754, allocations: 24.14 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.9755, allocations: 27.48 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.9755, allocations: 0 / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.953e-05/0.9755, allocations: 61.66 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9756, allocations: 4.75 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9756, allocations: 1.391 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.9756, allocations: 4.812 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.9757, allocations: 14.27 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.9757, allocations: 1.5 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.9757, allocations: 6.281 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.9757, allocations: 1.906 kB / 1.092 GB, free: 2.719 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.246e-05/0.9758, allocations: 114 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.9758, allocations: 8.484 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.9759, allocations: 16.5 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.9759, allocations: 0.8438 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9759, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.9759, allocations: 90.84 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.9759, allocations: 1.766 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.976, allocations: 1.719 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.976, allocations: 5.531 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.59e-05/0.9761, allocations: 202.7 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.78e-05/0.9762, allocations: 301.3 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.993e-05/0.9763, allocations: 8.359 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.806e-05/0.9763, allocations: 125.9 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of Backend: time 2.31e-07/0.9763, allocations: 0 / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.9768, allocations: 90.5 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003576/0.9771, allocations: 0.6127 MB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of Templates: time 0.00292/0.9801, allocations: 0.5199 MB / 1.094 GB, free: 1.117 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches