Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 178.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009425/0.0009421, allocations: 96.75 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 10.28 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2685, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.4637, allocations: 131.4 MB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.4641, allocations: 67.95 kB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002885/0.467, allocations: 1.165 MB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.467, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.467, allocations: 224 / 1.03 GB, free: 11.11 MB / 0.6823 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.0004312/0.4675, allocations: 378.9 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4675, allocations: 11.97 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.4676, allocations: 7.906 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.4677, allocations: 186.9 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.4678, allocations: 4 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4678, allocations: 15.92 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.468, allocations: 91.38 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.468, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.468, allocations: 8 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.468, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.4681, allocations: 39.92 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.4687, allocations: 460.6 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.4688, allocations: 41.25 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.4688, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4688, allocations: 30.56 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4688, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.469, allocations: 61.59 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.4691, allocations: 77.11 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.4693, allocations: 157.3 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4693, allocations: 29.64 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.4694, allocations: 111.9 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.4694, allocations: 7.844 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.4694, allocations: 4 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4695, allocations: 327.1 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.4696, allocations: 4 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.4696, allocations: 21.66 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.4696, allocations: 12 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4696, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.906e-05/0.4697, allocations: 61.55 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4698, allocations: 8 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.4698, allocations: 4.062 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4698, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.4699, allocations: 11.94 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4699, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.4699, allocations: 0.6719 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4699, allocations: 12 kB / 1.032 GB, free: 8.723 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.4701, allocations: 117.8 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.4701, allocations: 19.77 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.4701, allocations: 8.562 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4702, allocations: 4 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4702, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4702, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.4706, allocations: 486.8 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4707, allocations: 0 / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.4707, allocations: 4 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4707, allocations: 0 / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.4707, allocations: 4.062 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4707, allocations: 0 / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4707, allocations: 4 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.4708, allocations: 95.5 kB / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.4709, allocations: 89 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4709, allocations: 4 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.471, allocations: 4.031 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.471, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.471, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001009/0.4711, allocations: 128.9 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4711, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001831/0.4713, allocations: 15.84 kB / 1.033 GB, free: 7.637 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001382/0.4714, allocations: 99.23 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.4715, allocations: 23.94 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4715, allocations: 0 / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.4716, allocations: 11.94 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.4717, allocations: 16.84 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.4721, allocations: 194.2 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.4725, allocations: 0.7004 MB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.4725, allocations: 8.422 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.4726, allocations: 11.44 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.4726, allocations: 0 / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of Templates: time 0.002859/0.4754, allocations: 451.9 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches