Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.284/2.284, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 91.95 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.868e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3431, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.385, allocations: 149.6 MB / 1.365 GB, free: 4.465 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.386, allocations: 62.97 kB / 1.365 GB, free: 4.434 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002467/1.388, allocations: 1.086 MB / 1.366 GB, free: 3.469 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/1.388, allocations: 0 / 1.366 GB, free: 3.469 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.388, allocations: 4 kB / 1.366 GB, free: 3.465 MB / 0.823 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.0003065/1.389, allocations: 358.1 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.389, allocations: 12.03 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/1.389, allocations: 11.86 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/1.389, allocations: 174.9 kB / 1.366 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/1.389, allocations: 7.75 kB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/1.389, allocations: 4 kB / 1.366 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/1.389, allocations: 97.27 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/1.389, allocations: 0 / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.389, allocations: 3.625 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.389, allocations: 6.688 kB / 1.367 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/1.389, allocations: 34.5 kB / 1.367 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/1.39, allocations: 456.1 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/1.39, allocations: 38.22 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/1.39, allocations: 17.22 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/1.39, allocations: 8 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/1.39, allocations: 33.88 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.39, allocations: 0 / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001494/1.39, allocations: 45.55 kB / 1.367 GB, free: 2.086 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/1.39, allocations: 84.48 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.39, allocations: 146.1 kB / 1.367 GB, free: 1.852 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/1.39, allocations: 31.73 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/1.39, allocations: 106.3 kB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/1.39, allocations: 3.906 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/1.39, allocations: 3.5 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.39, allocations: 322.2 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/1.39, allocations: 7.938 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/1.39, allocations: 21.45 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/1.39, allocations: 11.5 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.39, allocations: 4 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.171e-05/1.391, allocations: 60.47 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/1.391, allocations: 4 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.391, allocations: 4 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.391, allocations: 0 / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/1.391, allocations: 4 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.391, allocations: 3.984 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/1.391, allocations: 11.84 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/1.391, allocations: 4.062 kB / 1.368 GB, free: 1.262 MB / 0.823 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 () * 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 6.478e-05/1.391, allocations: 110.2 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/1.391, allocations: 7.906 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/1.391, allocations: 15.14 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/1.391, allocations: 4 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.391, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/1.391, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/1.391, allocations: 472.8 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.391, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/1.391, allocations: 4 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/1.391, allocations: 0 / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/1.391, allocations: 0 / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.391, allocations: 4.875 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.391, allocations: 0 / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.251e-05/1.391, allocations: 98.5 kB / 1.369 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/1.392, allocations: 92.31 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/1.392, allocations: 0 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.917e-05/1.392, allocations: 0 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/1.392, allocations: 0 / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/1.392, allocations: 8 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.807e-05/1.392, allocations: 124.9 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.392, allocations: 4.031 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001623/1.392, allocations: 8 kB / 1.369 GB, free: 268 kB / 0.823 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 () * 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.0001123/1.392, allocations: 95.34 kB / 1.369 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/1.392, allocations: 26.88 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.392, allocations: 0 / 1.369 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.898e-06/1.392, allocations: 4 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/1.392, allocations: 7.25 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/1.392, allocations: 108.8 kB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.393, allocations: 0.6967 MB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.334e-05/1.393, allocations: 16.34 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/1.393, allocations: 11.44 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.393, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.002137/1.395, allocations: 420.9 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches