Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [: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.761/1.761, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001004/0.001004, allocations: 181.2 kB / 487 MB, free: 5.344 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.147/1.147, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0008374/0.0008372, allocations: 100.6 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.432e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1816, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.663, allocations: 148 MB / 1.35 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.6632, allocations: 61.7 kB / 1.35 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002023/0.6653, allocations: 0.7703 MB / 1.351 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.6653, allocations: 2.594 kB / 1.351 GB, free: 15.69 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.0002057/0.6655, allocations: 353.3 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.6655, allocations: 10.2 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.6656, allocations: 11.62 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.6657, allocations: 178.5 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.6657, allocations: 2.438 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.6657, allocations: 8.844 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.85e-05/0.6658, allocations: 32 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.6659, allocations: 84.67 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6659, allocations: 4 kB / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.6659, allocations: 0 / 1.351 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6659, allocations: 6.203 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.6663, allocations: 407.5 kB / 1.352 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.6664, allocations: 37.45 kB / 1.352 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.6664, allocations: 14.88 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.6664, allocations: 4.781 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.6664, allocations: 41.28 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6664, allocations: 0 / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001236/0.6666, allocations: 40.45 kB / 1.352 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.6666, allocations: 80.55 kB / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.6667, allocations: 114.3 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-06/0.6667, allocations: 25.7 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.6667, allocations: 117.4 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-06/0.6667, allocations: 8.719 kB / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.6667, allocations: 0 / 1.352 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.6668, allocations: 318.3 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.6668, allocations: 3.406 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.6668, allocations: 21.84 kB / 1.352 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.6668, allocations: 9.609 kB / 1.352 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6668, allocations: 4 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.577e-05/0.6669, allocations: 51.66 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.6669, allocations: 4.812 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.6669, allocations: 1.25 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.6669, allocations: 0 / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.667, allocations: 13.86 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.667, allocations: 0.8438 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.667, allocations: 10 kB / 1.352 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.667, allocations: 1.156 kB / 1.352 GB, free: 13.87 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.369e-05/0.6671, allocations: 110.8 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.6671, allocations: 7.125 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.6672, allocations: 6.484 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.6672, allocations: 0.75 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6672, allocations: 0.7812 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.6672, allocations: 0.7188 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.6674, allocations: 453.6 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6674, allocations: 1.375 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.6674, allocations: 2.75 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6674, allocations: 0 / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.6674, allocations: 1.594 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6675, allocations: 1.375 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6675, allocations: 3.938 kB / 1.353 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.212e-05/0.6675, allocations: 88.81 kB / 1.353 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.6675, allocations: 84.83 kB / 1.353 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.6676, allocations: 5.391 kB / 1.353 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.81e-05/0.6676, allocations: 1.625 kB / 1.353 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.6676, allocations: 5.062 kB / 1.353 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6676, allocations: 0.9688 kB / 1.353 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.936e-05/0.6677, allocations: 101.3 kB / 1.353 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001656/0.6678, allocations: 7.531 kB / 1.353 GB, free: 13.04 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 6.692e-05/0.6679, allocations: 102.4 kB / 1.353 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.719e-05/0.668, allocations: 13.44 kB / 1.353 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.668, allocations: 0 / 1.353 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-06/0.668, allocations: 8.219 kB / 1.353 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.698e-05/0.6681, allocations: 12.75 kB / 1.353 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.6683, allocations: 102.3 kB / 1.354 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.6684, allocations: 0.7104 MB / 1.354 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.6684, allocations: 0 / 1.354 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.001715/0.6701, allocations: 330.4 kB / 1.355 GB, free: 12.08 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches