Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 184.9 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009314/0.0009313, allocations: 78.92 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.536e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6121/0.8409, allocations: 131.7 MB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.8412, allocations: 64.09 kB / 1.013 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002577/0.8438, allocations: 0.8404 MB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.403e-06/0.8438, allocations: 0 / 1.014 GB, free: 6.234 MB / 0.6355 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.0003046/0.8442, allocations: 373 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.8442, allocations: 11.97 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.8442, allocations: 11.91 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.8444, allocations: 185.8 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.8444, allocations: 4 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.8444, allocations: 4 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.623e-05/0.8445, allocations: 38.52 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.8447, allocations: 83 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.8447, allocations: 0 / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.8447, allocations: 0 / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8447, allocations: 0 / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.8452, allocations: 419.3 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.8453, allocations: 44.25 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.8453, allocations: 16.66 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.8454, allocations: 0 / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.8454, allocations: 34.47 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.8454, allocations: 10.72 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.8456, allocations: 48.94 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.8456, allocations: 81.02 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.8457, allocations: 119.8 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.8457, allocations: 29.7 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.8458, allocations: 107.1 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.8458, allocations: 3.906 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8458, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.8459, allocations: 322.1 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.846, allocations: 11.44 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.846, allocations: 17.66 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.846, allocations: 4 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.846, allocations: 3.906 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.13e-05/0.8461, allocations: 56.12 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.8461, allocations: 10.03 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.8461, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8462, allocations: 7.969 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.8462, allocations: 4 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.8462, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.8463, allocations: 3.938 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.8463, allocations: 4 kB / 1.016 GB, free: 4.082 MB / 0.6355 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 5.978e-05/0.8463, allocations: 111.4 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.8464, allocations: 3.906 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.8464, allocations: 15.53 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8464, allocations: 0 / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.8464, allocations: 8.125 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.8465, allocations: 4 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.8468, allocations: 459 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8468, allocations: 0 / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.8468, allocations: 4 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8469, allocations: 0 / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.8469, allocations: 0 / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8469, allocations: 4.062 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.8469, allocations: 0 / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.246e-05/0.847, allocations: 89.98 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.847, allocations: 85.02 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.8471, allocations: 0 / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.8471, allocations: 4 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.8471, allocations: 15.48 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.8471, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.387e-05/0.8472, allocations: 97.78 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001794/0.8474, allocations: 8 kB / 1.017 GB, free: 3.129 MB / 0.6355 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.0001297/0.8475, allocations: 99.23 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.531e-05/0.8476, allocations: 22.75 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.8476, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.8476, allocations: 8.125 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.8478, allocations: 14.7 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.848, allocations: 111.8 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.8484, allocations: 0.7075 MB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/0.8484, allocations: 4 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of Templates: time 0.002077/0.8505, allocations: 380.4 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches