Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Cp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Cp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") [: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.447/1.447, 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.00117/0.00117, allocations: 185.1 kB / 316 MB, free: 3.52 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.541/1.541, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0009497/0.0009495, allocations: 86.2 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.163e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6841/0.8995, allocations: 133.1 MB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.8998, allocations: 79.14 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007405/0.9072, allocations: 1.682 MB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.9073, allocations: 0 / 1.016 GB, free: 4.281 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003643/0.9076, allocations: 334.3 kB / 1.017 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.9077, allocations: 8.031 kB / 1.017 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.9077, allocations: 8.016 kB / 1.017 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.9079, allocations: 167.1 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.9079, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.9079, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.504e-05/0.908, allocations: 4 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.559e-05/0.9081, allocations: 29.61 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.9081, allocations: 4 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.9081, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.9081, allocations: 3.938 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.9083, allocations: 129.5 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.9084, allocations: 26.61 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.9084, allocations: 14.59 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004329/0.9089, allocations: 405.6 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.9089, allocations: 30.56 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9089, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002141/0.9091, allocations: 45.59 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.9092, allocations: 55.41 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.9092, allocations: 92.06 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.9093, allocations: 25.7 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.9093, allocations: 80.14 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.9093, allocations: 7.906 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.9094, allocations: 0 / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.9096, allocations: 322 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.9096, allocations: 0 / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.029e-05/0.9096, allocations: 4 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.9096, allocations: 4 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9097, allocations: 0 / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001086/0.9098, allocations: 40.62 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.9098, allocations: 4 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9098, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.9098, allocations: 4 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.9099, allocations: 4.969 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.9099, allocations: 3.906 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.505e-05/0.9099, allocations: 4 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.9099, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.387e-05/0.91, allocations: 104.9 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.91, allocations: 3.938 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.9102, allocations: 60.72 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9102, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.9102, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9102, allocations: 5.531 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.9103, allocations: 134.2 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9103, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.9103, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9103, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.9104, allocations: 4 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9104, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9104, allocations: 3.906 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001265/0.9105, allocations: 68.19 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.9106, allocations: 81.11 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.9106, allocations: 9.141 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.9106, allocations: 2.438 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.9106, allocations: 0 / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.9106, allocations: 3.938 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.867e-05/0.9107, allocations: 79.28 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000239/0.9109, allocations: 31.75 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002405/0.9112, allocations: 131.3 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.555e-05/0.9112, allocations: 8 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9113, allocations: 0 / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.9113, allocations: 7.938 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.9114, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.9116, allocations: 51.48 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.9119, allocations: 0.6841 MB / 1.019 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9119, allocations: 128 / 1.019 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of Templates: time 0.002738/0.9147, allocations: 0.6789 MB / 1.02 GB, free: 15.95 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches