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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001101/0.001101, allocations: 178.9 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0008456/0.0008457, allocations: 99.89 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004035, allocations: 14.81 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3037, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2576/0.5614, allocations: 148.8 MB / 1.368 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5617, allocations: 67.95 kB / 1.368 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00322/0.565, allocations: 1.092 MB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.565, allocations: 4 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.565, allocations: 0 / 1.369 GB, free: 12.1 MB / 0.8698 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.0004289/0.5655, allocations: 369.8 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5655, allocations: 8.031 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.5656, allocations: 15.86 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.5658, allocations: 170.9 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.5658, allocations: 8 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.5659, allocations: 11.94 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.5661, allocations: 92.78 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.5661, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.5661, allocations: 4 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.5661, allocations: 4 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.5663, allocations: 39.92 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.567, allocations: 448.6 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.25e-05/0.5671, allocations: 37.19 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.5671, allocations: 0 / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.5672, allocations: 38.69 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5672, allocations: 0 / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002234/0.5674, allocations: 53.55 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.5675, allocations: 81.09 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.5677, allocations: 144 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.5677, allocations: 25.7 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.5678, allocations: 112.2 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.5678, allocations: 11.89 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.5678, allocations: 0 / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5679, allocations: 318.8 kB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.568, allocations: 4 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.568, allocations: 25.88 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.568, allocations: 11.95 kB / 1.371 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.5681, allocations: 7.938 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.5682, allocations: 61.59 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5682, allocations: 4 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5682, allocations: 0 / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.5682, allocations: 0 / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.5683, allocations: 11.94 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5684, allocations: 0 / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.5684, allocations: 7.844 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.5684, allocations: 4 kB / 1.371 GB, free: 9.773 MB / 0.8698 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.0001005/0.5685, allocations: 127.7 kB / 1.371 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.5686, allocations: 7.906 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.5686, allocations: 7.969 kB / 1.372 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5686, allocations: 7.984 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5687, allocations: 0 / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5687, allocations: 4 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.5691, allocations: 470.7 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5692, allocations: 8.047 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.5692, allocations: 4 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5692, allocations: 0 / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5692, allocations: 0 / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5692, allocations: 0 / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5692, allocations: 4 kB / 1.372 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.5694, allocations: 95.52 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.5695, allocations: 89 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.5695, allocations: 4 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.5695, allocations: 0 / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.5695, allocations: 0 / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.5696, allocations: 4 kB / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001177/0.5697, allocations: 115.2 kB / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5697, allocations: 4 kB / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002811/0.57, allocations: 11.86 kB / 1.372 GB, free: 8.711 MB / 0.8698 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.0001557/0.5701, allocations: 115 kB / 1.372 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.5703, allocations: 15.94 kB / 1.372 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5703, allocations: 0 / 1.372 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.5703, allocations: 4 kB / 1.372 GB, free: 8.566 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.5705, allocations: 8 kB / 1.372 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.571, allocations: 186.7 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.5713, allocations: 0.7014 MB / 1.373 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.418e-05/0.5713, allocations: 8.438 kB / 1.373 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.5714, allocations: 11.44 kB / 1.373 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/0.5714, allocations: 0 / 1.373 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.003068/0.5744, allocations: 412.7 kB / 1.374 GB, free: 7.188 MB / 0.8698 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches