Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.785/1.785, allocations: 387.2 MB / 394.5 MB, free: 13.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.001028/0.001028, allocations: 181.2 kB / 487 MB, free: 5.391 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.108/1.108, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008478/0.0008477, allocations: 90.91 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.621e-06/5.641e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1744, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4903/0.6647, allocations: 148 MB / 1.35 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001561/0.6649, allocations: 63.28 kB / 1.35 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002033/0.667, allocations: 0.7826 MB / 1.351 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.667, allocations: 2.25 kB / 1.351 GB, free: 15.84 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.0001941/0.6672, allocations: 353.1 kB / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.6672, allocations: 10.5 kB / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.6673, allocations: 9.188 kB / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.229e-05/0.6674, allocations: 173.5 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.6674, allocations: 2.406 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.6674, allocations: 6.344 kB / 1.351 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.484e-05/0.6675, allocations: 37.98 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.6676, allocations: 82.36 kB / 1.351 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6676, allocations: 1.125 kB / 1.351 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.6676, allocations: 4 kB / 1.351 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6676, allocations: 2.406 kB / 1.351 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.668, allocations: 410.1 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.222e-05/0.6681, allocations: 35.84 kB / 1.352 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.6681, allocations: 20.25 kB / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.6681, allocations: 0 / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.6681, allocations: 37.09 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.6681, allocations: 0 / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000124/0.6682, allocations: 47.77 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.6683, allocations: 79.17 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.6683, allocations: 116.8 kB / 1.352 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.6684, allocations: 27.34 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.6684, allocations: 108.6 kB / 1.352 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.6684, allocations: 10.53 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.6684, allocations: 0 / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/0.6685, allocations: 318.7 kB / 1.352 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.6685, allocations: 3.25 kB / 1.352 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.6685, allocations: 22.59 kB / 1.352 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.6685, allocations: 9.312 kB / 1.352 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6685, allocations: 3.938 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.511e-05/0.6686, allocations: 56.11 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.6686, allocations: 4.656 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6686, allocations: 1.375 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.6686, allocations: 0 / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.6687, allocations: 7.188 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6687, allocations: 1.375 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.6687, allocations: 10.42 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.6688, allocations: 1.375 kB / 1.352 GB, free: 14.03 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.508e-05/0.6688, allocations: 106.3 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.6688, allocations: 10.81 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.6689, allocations: 13.55 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6689, allocations: 1.375 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6689, allocations: 2.688 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.6689, allocations: 3.062 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.6691, allocations: 436.5 kB / 1.353 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6691, allocations: 5.312 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.6691, allocations: 6.812 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6691, allocations: 224 / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.6692, allocations: 1.375 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6692, allocations: 6.625 kB / 1.353 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6692, allocations: 0 / 1.353 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.334e-05/0.6692, allocations: 90.8 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.6692, allocations: 80.89 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.6693, allocations: 2.609 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.6693, allocations: 1.812 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.6693, allocations: 3.906 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-06/0.6693, allocations: 1.75 kB / 1.353 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.363e-05/0.6693, allocations: 104.2 kB / 1.353 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001655/0.6695, allocations: 7.188 kB / 1.353 GB, free: 13.19 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.065e-05/0.6696, allocations: 106.7 kB / 1.353 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.853e-05/0.6697, allocations: 14.12 kB / 1.353 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.6697, allocations: 0 / 1.353 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/0.6697, allocations: 5.125 kB / 1.353 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.618e-05/0.6698, allocations: 7.609 kB / 1.353 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.67, allocations: 104 kB / 1.354 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.6701, allocations: 0.712 MB / 1.354 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/0.6701, allocations: 3.938 kB / 1.354 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.00165/0.6717, allocations: 319.4 kB / 1.355 GB, free: 12.25 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches