Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [: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.365/1.365, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 188.9 kB / 316 MB, free: 7.176 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.802/1.802, allocations: 205.1 MB / 0.5667 GB, free: 23.57 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.0009562/0.0009563, allocations: 91.88 kB / 0.671 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.346e-06, allocations: 4 kB / 0.7807 GB, free: 368 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5738, allocations: 106.3 MB / 0.8846 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.7478, allocations: 131 MB / 1.012 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.7481, allocations: 83.92 kB / 1.013 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.004934/0.7531, allocations: 1.453 MB / 1.014 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.7531, allocations: 4 kB / 1.014 GB, free: 7.637 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003928/0.7535, allocations: 350.2 kB / 1.014 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.7536, allocations: 12.03 kB / 1.014 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.7536, allocations: 0 / 1.014 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.7538, allocations: 174.9 kB / 1.014 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.7538, allocations: 0 / 1.014 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-06/0.7538, allocations: 0 / 1.014 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.364e-05/0.7539, allocations: 19.92 kB / 1.014 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.793e-05/0.7539, allocations: 29.7 kB / 1.015 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.754, allocations: 7.984 kB / 1.015 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.754, allocations: 3.906 kB / 1.015 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.754, allocations: 0 / 1.015 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.7542, allocations: 138.3 kB / 1.015 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.483e-05/0.7543, allocations: 30.52 kB / 1.015 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.7543, allocations: 8.922 kB / 1.015 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.7553, allocations: 1.167 MB / 1.016 GB, free: 5.312 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.7554, allocations: 38.55 kB / 1.016 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7554, allocations: 0 / 1.016 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.000254/0.7556, allocations: 45.61 kB / 1.016 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.7557, allocations: 55.41 kB / 1.016 GB, free: 5.148 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.7558, allocations: 101 kB / 1.016 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.7558, allocations: 25.7 kB / 1.016 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.7559, allocations: 80.14 kB / 1.016 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.7559, allocations: 3.906 kB / 1.016 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.7559, allocations: 0 / 1.016 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.756, allocations: 314.8 kB / 1.016 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.756, allocations: 11.98 kB / 1.016 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.7561, allocations: 7.938 kB / 1.016 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.7561, allocations: 8 kB / 1.016 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7561, allocations: 0 / 1.016 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.774e-05/0.7562, allocations: 49.81 kB / 1.017 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.7563, allocations: 4 kB / 1.017 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7563, allocations: 0 / 1.017 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7563, allocations: 0 / 1.017 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.7563, allocations: 11.94 kB / 1.017 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.7564, allocations: 0 / 1.017 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.7564, allocations: 7.938 kB / 1.017 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.7564, allocations: 0 / 1.017 GB, free: 4.504 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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.031e-05/0.7565, allocations: 115 kB / 1.017 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.7565, allocations: 0 / 1.017 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.7567, allocations: 65.52 kB / 1.017 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7567, allocations: 0 / 1.017 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7567, allocations: 4 kB / 1.017 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7567, allocations: 4 kB / 1.017 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.7568, allocations: 134.2 kB / 1.017 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7568, allocations: 0 / 1.017 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.7569, allocations: 4 kB / 1.017 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7569, allocations: 0 / 1.017 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.7569, allocations: 4 kB / 1.017 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7569, allocations: 7.844 kB / 1.017 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7569, allocations: 0 / 1.017 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001207/0.757, allocations: 69.12 kB / 1.017 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.7571, allocations: 92.94 kB / 1.017 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.7571, allocations: 0 / 1.017 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.7572, allocations: 0 / 1.017 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.7572, allocations: 4 kB / 1.017 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.7572, allocations: 3.984 kB / 1.017 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.43e-05/0.7573, allocations: 85.75 kB / 1.017 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002068/0.7575, allocations: 27.94 kB / 1.017 GB, free: 3.809 MB / 0.6667 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 (3): * Single equations (assignments): 3 * 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.0002116/0.7577, allocations: 139.1 kB / 1.017 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.555e-05/0.7578, allocations: 12 kB / 1.017 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7578, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.7578, allocations: 11.98 kB / 1.017 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.758, allocations: 7.875 kB / 1.017 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002218/0.7582, allocations: 67.72 kB / 1.017 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.7586, allocations: 0.6954 MB / 1.018 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of SimCode: time 3.1e-07/0.7586, allocations: 4 kB / 1.018 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of Templates: time 0.002871/0.7614, allocations: 0.7961 MB / 1.019 GB, free: 2.031 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches