Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001873/0.001873, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.13 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.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8656, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002178/0.8678, allocations: 0.8224 MB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.8679, allocations: 40.36 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.868, allocations: 1.969 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.868, allocations: 13.75 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.8681, allocations: 10.36 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.817e-05/0.8682, allocations: 24 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.8683, allocations: 59.83 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.8685, allocations: 45.19 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.085e-05/0.8686, allocations: 27.56 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.8686, allocations: 29.72 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.8687, allocations: 6.25 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.8687, allocations: 6.5 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.8687, allocations: 15.66 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.8687, allocations: 32.28 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.8689, allocations: 77.77 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8689, allocations: 0.5625 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.175e-06/0.8689, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.8689, allocations: 5.125 kB / 1.09 GB, free: 4.77 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.0003967/0.8693, allocations: 374.1 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.8694, allocations: 9.297 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.8694, allocations: 14.16 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.8696, allocations: 195.4 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.8696, allocations: 8 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.8697, allocations: 5.719 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.8698, allocations: 97.81 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8698, allocations: 4.125 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8699, allocations: 4.625 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8699, allocations: 2.5 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.87, allocations: 36.16 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.8704, allocations: 437.1 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.787e-05/0.8705, allocations: 49.53 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.8705, allocations: 24.98 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.8706, allocations: 1.156 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.8706, allocations: 36.55 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8706, allocations: 4 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.8708, allocations: 52.88 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.8708, allocations: 82.89 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.8709, allocations: 160.7 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.8709, allocations: 25.7 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.871, allocations: 102.9 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-06/0.871, allocations: 10.48 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.8711, allocations: 13.86 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.8711, allocations: 323.8 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.8711, allocations: 8.922 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.8712, allocations: 19.38 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.8712, allocations: 27.23 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8712, allocations: 0.8438 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.781e-05/0.8713, allocations: 60.31 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8713, allocations: 6.516 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8713, allocations: 3.938 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8714, allocations: 1.453 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.8714, allocations: 6.469 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.8714, allocations: 1.578 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.8715, allocations: 6.719 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.8715, allocations: 5.062 kB / 1.092 GB, free: 2.699 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.847e-05/0.8716, allocations: 117.7 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.8716, allocations: 8.828 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.8716, allocations: 16.44 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8716, allocations: 0.5156 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8716, allocations: 0.9688 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8717, allocations: 1.156 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.8719, allocations: 470.7 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.872, allocations: 1.406 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.872, allocations: 6.906 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.872, allocations: 0.6562 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.872, allocations: 2.062 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.872, allocations: 4.875 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.872, allocations: 0.7969 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.503e-05/0.8721, allocations: 80.84 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.8721, allocations: 97.91 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.8722, allocations: 1.484 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.8722, allocations: 1.734 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.8722, allocations: 1.766 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.8722, allocations: 1.281 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.8723, allocations: 119.5 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8723, allocations: 1.344 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001875/0.8725, allocations: 6.062 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001176/0.8726, allocations: 102.5 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.642e-05/0.8727, allocations: 23.47 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8727, allocations: 1.25 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.8727, allocations: 7.719 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.8729, allocations: 12 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.8732, allocations: 185.1 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.8734, allocations: 0.695 MB / 1.094 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.8734, allocations: 12.28 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8735, allocations: 3.938 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.002858/0.8763, allocations: 0.8681 MB / 1.095 GB, free: 16.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches