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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001129/0.001129, allocations: 173.1 kB / 498.1 MB, free: 5.688 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.588/1.588, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009971/0.0009968, allocations: 88.34 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003492, allocations: 12.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3487, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.5389, allocations: 148.8 MB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5391, allocations: 63.95 kB / 1.368 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002526/0.5417, allocations: 1.094 MB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5417, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5417, allocations: 3.938 kB / 1.369 GB, free: 12.09 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.0003661/0.5421, allocations: 365.8 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5421, allocations: 20.02 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.5422, allocations: 11.86 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.5423, allocations: 170.9 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5424, allocations: 8 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.5424, allocations: 4 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.5426, allocations: 92.58 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5426, allocations: 0 / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.5426, allocations: 8 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5426, allocations: 7.984 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.5427, allocations: 39.92 kB / 1.37 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.5434, allocations: 452.6 kB / 1.37 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.5434, allocations: 33.31 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.5434, allocations: 4 kB / 1.37 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.5435, allocations: 34.55 kB / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.5435, allocations: 0 / 1.371 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.5437, allocations: 57.55 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.5437, allocations: 81.11 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.5439, allocations: 147.2 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5439, allocations: 25.7 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.544, allocations: 100.2 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.544, allocations: 15.83 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.544, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5441, allocations: 319.1 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.5442, allocations: 8 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.5442, allocations: 29.62 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.5442, allocations: 11.95 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5442, allocations: 0 / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.954e-05/0.5443, allocations: 61.59 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5444, allocations: 4 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5444, allocations: 0 / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5444, allocations: 4.062 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.5445, allocations: 11.94 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5445, allocations: 0 / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.5445, allocations: 11.84 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.5445, allocations: 0 / 1.371 GB, free: 9.758 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 9.289e-05/0.5446, allocations: 119.3 kB / 1.371 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.5447, allocations: 7.906 kB / 1.371 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.5447, allocations: 15.86 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5447, allocations: 3.938 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5447, allocations: 4 kB / 1.372 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5447, allocations: 0 / 1.372 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.5451, allocations: 466.8 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5451, allocations: 0 / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.5452, allocations: 4 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5452, allocations: 0 / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.5452, allocations: 0 / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5452, allocations: 12.05 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5452, allocations: 0 / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.242e-05/0.5453, allocations: 91.52 kB / 1.372 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.5454, allocations: 97 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.5454, allocations: 0 / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.5454, allocations: 0 / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.5454, allocations: 4.031 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.5454, allocations: 4 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.296e-05/0.5455, allocations: 120.9 kB / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.583e-06/0.5455, allocations: 0 / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002012/0.5457, allocations: 19.8 kB / 1.372 GB, free: 8.691 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.0001333/0.5459, allocations: 103 kB / 1.372 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.225e-05/0.546, allocations: 19.92 kB / 1.372 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.546, allocations: 8.125 kB / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-06/0.546, allocations: 4 kB / 1.372 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.5461, allocations: 4 kB / 1.372 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.5465, allocations: 181.1 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5468, allocations: 0.6975 MB / 1.373 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.5468, allocations: 12.36 kB / 1.373 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.5469, allocations: 11.44 kB / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.5469, allocations: 0 / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of Templates: time 0.002331/0.5492, allocations: 413.3 kB / 1.374 GB, free: 7.18 MB / 0.8698 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches