Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.282/2.282, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001064/0.001064, allocations: 184.8 kB / 496.1 MB, free: 12.87 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.629/1.629, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001052/0.001051, allocations: 95.89 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.167e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2875, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9935/1.281, allocations: 149.6 MB / 1.365 GB, free: 4.457 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/1.281, allocations: 64.84 kB / 1.365 GB, free: 4.422 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002429/1.284, allocations: 1.09 MB / 1.366 GB, free: 3.461 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.072e-06/1.284, allocations: 0 / 1.366 GB, free: 3.461 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.284, allocations: 0 / 1.366 GB, free: 3.461 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.0003086/1.284, allocations: 356.8 kB / 1.366 GB, free: 3.074 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.284, allocations: 12.03 kB / 1.366 GB, free: 3.062 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/1.284, allocations: 11.86 kB / 1.366 GB, free: 3.051 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/1.284, allocations: 182.8 kB / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.284, allocations: 7.062 kB / 1.366 GB, free: 2.828 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/1.284, allocations: 4 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/1.284, allocations: 93.3 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/1.284, allocations: 0 / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/1.284, allocations: 2.938 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.285, allocations: 4 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.827e-05/1.285, allocations: 37.19 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/1.285, allocations: 448.2 kB / 1.367 GB, free: 2.254 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/1.285, allocations: 45.45 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/1.285, allocations: 21.47 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/1.285, allocations: 0 / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/1.285, allocations: 34.56 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/1.285, allocations: 0 / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/1.285, allocations: 49.23 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.285, allocations: 81.09 kB / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.286, allocations: 146.4 kB / 1.367 GB, free: 1.848 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/1.286, allocations: 31.61 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/1.286, allocations: 106.3 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/1.286, allocations: 7.906 kB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.286, allocations: 4.062 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.286, allocations: 321.8 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/1.286, allocations: 10.81 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/1.286, allocations: 20.97 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/1.286, allocations: 7.5 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.286, allocations: 0 / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.782e-05/1.286, allocations: 68.41 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/1.286, allocations: 4 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.286, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.286, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/1.286, allocations: 8 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.286, allocations: 0 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/1.286, allocations: 11.84 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/1.286, allocations: 0 / 1.368 GB, free: 1.258 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.76e-05/1.286, allocations: 108.8 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/1.286, allocations: 11.97 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/1.286, allocations: 15.14 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/1.286, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.286, allocations: 0 / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.286, allocations: 4 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/1.287, allocations: 470.7 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.287, allocations: 0.875 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/1.287, allocations: 64 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/1.287, allocations: 8 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/1.287, allocations: 3.984 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/1.287, allocations: 3.984 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.287, allocations: 4 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.384e-05/1.287, allocations: 89.39 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/1.287, allocations: 95.59 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/1.287, allocations: 4 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/1.287, allocations: 0 / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/1.287, allocations: 0 / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/1.287, allocations: 0 / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.931e-05/1.287, allocations: 129 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.287, allocations: 0 / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001667/1.287, allocations: 8 kB / 1.369 GB, free: 264 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.0001149/1.287, allocations: 99.25 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/1.288, allocations: 19.44 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.288, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/1.288, allocations: 11.92 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/1.288, allocations: 8 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/1.288, allocations: 105 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/1.288, allocations: 0.7006 MB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.879e-05/1.288, allocations: 8.422 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/1.288, allocations: 11.44 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/1.288, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.002003/1.29, allocations: 430.3 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches