Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.795/1.795, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009344/0.0009344, allocations: 192.6 kB / 487 MB, free: 5.383 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.098/1.098, allocations: 221.3 MB / 0.7819 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000796/0.000796, allocations: 90.7 kB / 0.9213 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.402e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4889/0.6656, allocations: 148 MB / 1.35 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001569/0.6658, allocations: 66.06 kB / 1.35 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001974/0.6678, allocations: 0.7726 MB / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.6678, allocations: 6.562 kB / 1.351 GB, free: 15.61 MB / 0.8073 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.0001997/0.668, allocations: 353.1 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.668, allocations: 9.438 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.6681, allocations: 10.27 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.6681, allocations: 178.1 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.6682, allocations: 6.5 kB / 1.351 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6682, allocations: 4.969 kB / 1.351 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.619e-05/0.6683, allocations: 38.75 kB / 1.351 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.485e-05/0.6684, allocations: 84.89 kB / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.6684, allocations: 0 / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.6684, allocations: 4.281 kB / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.6684, allocations: 1.156 kB / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.6688, allocations: 410.4 kB / 1.352 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.6688, allocations: 36.56 kB / 1.352 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.6688, allocations: 18.38 kB / 1.352 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.6689, allocations: 1.312 kB / 1.352 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.6689, allocations: 36.98 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6689, allocations: 0 / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.669, allocations: 43.62 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.561e-05/0.669, allocations: 82.2 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.6691, allocations: 114.8 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.6691, allocations: 28.59 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.6691, allocations: 108.1 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-06/0.6692, allocations: 8.75 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.6692, allocations: 0.7812 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.6692, allocations: 314.3 kB / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.6692, allocations: 6.812 kB / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.6692, allocations: 27.94 kB / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.6693, allocations: 9.297 kB / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6693, allocations: 0 / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.525e-05/0.6693, allocations: 50.3 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.6694, allocations: 4.969 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.6694, allocations: 1.188 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.6694, allocations: 0 / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.374e-05/0.6694, allocations: 11.16 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.6694, allocations: 4.719 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.6695, allocations: 10.67 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.6695, allocations: 1.469 kB / 1.352 GB, free: 13.79 MB / 0.8073 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 3.358e-05/0.6695, allocations: 101.7 kB / 1.353 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.6696, allocations: 8.484 kB / 1.353 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.6696, allocations: 8.062 kB / 1.353 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6696, allocations: 2.531 kB / 1.353 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6696, allocations: 4.906 kB / 1.353 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6696, allocations: 5 kB / 1.353 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.6698, allocations: 446.3 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6698, allocations: 1.688 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.6699, allocations: 3.531 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6699, allocations: 1.062 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.6699, allocations: 1.375 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6699, allocations: 3.938 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6699, allocations: 8.312 kB / 1.353 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.001e-05/0.67, allocations: 83.36 kB / 1.353 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.67, allocations: 85.48 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.67, allocations: 1.375 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.67, allocations: 1.734 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.67, allocations: 13.25 kB / 1.353 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.67, allocations: 1.375 kB / 1.353 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.802e-05/0.6701, allocations: 100.7 kB / 1.353 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001641/0.6703, allocations: 8.25 kB / 1.353 GB, free: 12.96 MB / 0.8073 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 7.67e-05/0.6703, allocations: 98 kB / 1.353 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.294e-05/0.6704, allocations: 14.72 kB / 1.353 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.6704, allocations: 0 / 1.353 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.6704, allocations: 11.72 kB / 1.353 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.683e-05/0.6705, allocations: 7.469 kB / 1.353 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.6707, allocations: 102.5 kB / 1.354 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.6708, allocations: 0.7053 MB / 1.354 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of SimCode: time 2e-07/0.6708, allocations: 0 / 1.354 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of Templates: time 0.001653/0.6725, allocations: 333.1 kB / 1.355 GB, free: 12.01 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches