Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.001156/0.001156, allocations: 189.2 kB / 316 MB, free: 3.484 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.558/1.558, allocations: 205.2 MB / 0.5667 GB, free: 15.54 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.001071/0.001072, allocations: 90.08 kB / 0.671 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.049e-05, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 106.4 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5393/0.7456, allocations: 131.7 MB / 1.013 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.7459, allocations: 68.7 kB / 1.013 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002676/0.7486, allocations: 0.8359 MB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.7486, allocations: 0 / 1.014 GB, free: 6.211 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.000355/0.749, allocations: 376.7 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.749, allocations: 8.031 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.7491, allocations: 7.906 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.7492, allocations: 178.9 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.7493, allocations: 4 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.7493, allocations: 4 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001003/0.7494, allocations: 37.28 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.7495, allocations: 89.2 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.7495, allocations: 0.5625 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.7496, allocations: 0 / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.7496, allocations: 0 / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.7501, allocations: 415.6 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/0.7501, allocations: 40.34 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.7502, allocations: 13.84 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.7502, allocations: 0 / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.7502, allocations: 44.41 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7502, allocations: 2.734 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.7504, allocations: 41.64 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.7504, allocations: 84.27 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.7505, allocations: 119.3 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.7506, allocations: 25.7 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.7506, allocations: 111.4 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.7506, allocations: 11.78 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.7506, allocations: 0 / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7508, allocations: 311.6 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.7508, allocations: 7.188 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.7508, allocations: 29.62 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.7508, allocations: 7.125 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7509, allocations: 3.906 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.303e-05/0.7509, allocations: 56.64 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.751, allocations: 10.19 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.751, allocations: 3.984 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.751, allocations: 7.844 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.7511, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7511, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.7511, allocations: 3.938 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.7511, allocations: 0 / 1.016 GB, free: 4.066 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 7.279e-05/0.7512, allocations: 111.4 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.7513, allocations: 7.906 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.7513, allocations: 15.17 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7513, allocations: 3.984 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7513, allocations: 4.125 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7514, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.7517, allocations: 459.4 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7518, allocations: 4.062 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.7518, allocations: 7.938 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7518, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7518, allocations: 0.5 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7518, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7518, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.378e-05/0.7519, allocations: 86.67 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.752, allocations: 92.7 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.752, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.752, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.752, allocations: 7.906 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.7521, allocations: 0 / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.807e-05/0.7521, allocations: 105.2 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001797/0.7523, allocations: 8 kB / 1.017 GB, free: 3.109 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.0001101/0.7524, allocations: 103.2 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.224e-05/0.7525, allocations: 15 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7525, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.7525, allocations: 7.812 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/0.7526, allocations: 12.59 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.7529, allocations: 106.6 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.7532, allocations: 0.7155 MB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.7532, allocations: 0 / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of Templates: time 0.001964/0.7552, allocations: 380.6 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches