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_cfm.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_cfm,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_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,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_cfm") [: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.479/1.479, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.001037/0.001037, allocations: 181.3 kB / 316 MB, free: 3.488 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.579/1.579, allocations: 205.1 MB / 0.5667 GB, free: 15.55 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.001078/0.001078, allocations: 90.09 kB / 0.671 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/8.065e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2081, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6371/0.8452, allocations: 131.6 MB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.8455, allocations: 66.77 kB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00289/0.8485, allocations: 0.8431 MB / 1.014 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.8485, allocations: 4 kB / 1.014 GB, free: 6.43 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.0004094/0.8489, allocations: 369.6 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.849, allocations: 11.97 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.849, allocations: 15.91 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.8492, allocations: 174.9 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.8492, allocations: 4 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.8492, allocations: 4 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.8493, allocations: 34.72 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.8495, allocations: 88.08 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.8495, allocations: 0 / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8495, allocations: 0 / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.8495, allocations: 4 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.8501, allocations: 415.8 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.8502, allocations: 40.97 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.8502, allocations: 13.84 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.8502, allocations: 0 / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.8503, allocations: 41.47 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.8503, allocations: 2.734 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001763/0.8505, allocations: 45.33 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.8505, allocations: 85 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.8506, allocations: 119.3 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.8507, allocations: 29.69 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.8507, allocations: 103.1 kB / 1.016 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.8507, allocations: 7.094 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.8507, allocations: 0 / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8509, allocations: 322.2 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.8509, allocations: 7.438 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.8509, allocations: 24.62 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.851, allocations: 7.438 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.851, allocations: 7.844 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.388e-05/0.8511, allocations: 49.02 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.8511, allocations: 4 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8511, allocations: 8.047 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.8511, allocations: 3.906 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.8512, allocations: 8 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.8512, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.8512, allocations: 7.375 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.8513, allocations: 4 kB / 1.016 GB, free: 4.285 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.225e-05/0.8513, allocations: 107.4 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.8514, allocations: 7.906 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.8514, allocations: 10.86 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8514, allocations: 7.984 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8515, allocations: 12.06 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8515, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.8518, allocations: 452 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8518, allocations: 3.938 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.8519, allocations: 4 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8519, allocations: 0 / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.8519, allocations: 64 / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8519, allocations: 4 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8519, allocations: 4 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.389e-05/0.852, allocations: 87.36 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.8521, allocations: 81.02 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.8521, allocations: 4 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.8521, allocations: 4.031 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.8521, allocations: 3.906 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.8521, allocations: 0 / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.306e-05/0.8522, allocations: 108 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001781/0.8524, allocations: 8 kB / 1.017 GB, free: 3.336 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.0001417/0.8526, allocations: 99.19 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.8527, allocations: 18.44 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8527, allocations: 4.125 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.8527, allocations: 4 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.8528, allocations: 15.14 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.8531, allocations: 108.1 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.8535, allocations: 0.7114 MB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.8535, allocations: 4.125 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of Templates: time 0.002413/0.856, allocations: 383.9 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches