Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [: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.763/1.763, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009084/0.0009083, allocations: 181.2 kB / 487 MB, free: 5.316 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.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008339/0.000834, allocations: 98.3 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.55e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1823, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5226/0.7049, allocations: 148 MB / 1.35 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.7051, allocations: 63.08 kB / 1.35 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002125/0.7073, allocations: 0.777 MB / 1.351 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7073, allocations: 1.219 kB / 1.351 GB, free: 15.82 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.0002099/0.7075, allocations: 353 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.7076, allocations: 10.06 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.7076, allocations: 8.406 kB / 1.351 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.7077, allocations: 179.2 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.7077, allocations: 2.75 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.7078, allocations: 4.125 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.476e-05/0.7079, allocations: 37.92 kB / 1.351 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.708, allocations: 85.75 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.708, allocations: 0 / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.708, allocations: 0 / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.708, allocations: 1.75 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.7084, allocations: 406.4 kB / 1.352 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.94e-05/0.7084, allocations: 37.41 kB / 1.352 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.7084, allocations: 22.66 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.7085, allocations: 0 / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.062e-05/0.7085, allocations: 33.58 kB / 1.352 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.7085, allocations: 3.938 kB / 1.352 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.7086, allocations: 45.05 kB / 1.352 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.757e-05/0.7086, allocations: 80.31 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.7087, allocations: 120.8 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.7087, allocations: 27.08 kB / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.7088, allocations: 109.3 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.7088, allocations: 5.281 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.7088, allocations: 0 / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.7088, allocations: 317.3 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.7088, allocations: 7.625 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.7089, allocations: 18.62 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.7089, allocations: 9.125 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.7089, allocations: 3.938 kB / 1.352 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.571e-05/0.709, allocations: 53.09 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.709, allocations: 6.047 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.709, allocations: 1.031 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.709, allocations: 1.469 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.7091, allocations: 5.938 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.7091, allocations: 0 / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.7091, allocations: 19.84 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.7091, allocations: 1.375 kB / 1.353 GB, free: 14 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.465e-05/0.7092, allocations: 106.3 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.7092, allocations: 6.656 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.181e-05/0.7092, allocations: 9.516 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.7092, allocations: 1.375 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7092, allocations: 3.438 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7093, allocations: 1.219 kB / 1.353 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.7095, allocations: 441.5 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7095, allocations: 5.312 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.7095, allocations: 2.75 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7095, allocations: 2.828 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.7095, allocations: 224 / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7095, allocations: 1.312 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7095, allocations: 3.938 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.519e-05/0.7096, allocations: 92.53 kB / 1.353 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.7096, allocations: 81.66 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.7096, allocations: 1.062 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.7097, allocations: 0 / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.7097, allocations: 5.656 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.7097, allocations: 2.094 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.432e-05/0.7097, allocations: 108.3 kB / 1.353 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001656/0.7099, allocations: 7.438 kB / 1.353 GB, free: 13.17 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.58e-05/0.71, allocations: 106.5 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.234e-05/0.7101, allocations: 14.5 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7101, allocations: 0 / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.7101, allocations: 4.125 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.029e-05/0.7102, allocations: 5.938 kB / 1.353 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.7104, allocations: 109.5 kB / 1.354 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.7106, allocations: 0.7073 MB / 1.354 GB, free: 28.27 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.7106, allocations: 0 / 1.354 GB, free: 28.27 MB / 0.823 GB Notification: Performance of Templates: time 0.001714/0.7123, allocations: 337.5 kB / 1.355 GB, free: 28.21 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches