Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [: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.805/1.805, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009404/0.0009407, allocations: 184.4 kB / 487 MB, free: 5.355 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.174/1.174, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.0009261/0.0009261, allocations: 105.4 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.863e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1858, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5133/0.6992, allocations: 148.2 MB / 1.35 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.6994, allocations: 74.61 kB / 1.35 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002071/0.7015, allocations: 0.5609 MB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.7015, allocations: 1.281 kB / 1.351 GB, free: 15.52 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001686/0.7017, allocations: 316.3 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.7017, allocations: 9.531 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.7018, allocations: 1.344 kB / 1.351 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.877e-05/0.7019, allocations: 173.3 kB / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.7019, allocations: 0 / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.7019, allocations: 5.375 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.848e-05/0.702, allocations: 2.75 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.617e-05/0.702, allocations: 33.98 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.702, allocations: 1.375 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.702, allocations: 3.938 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.702, allocations: 1.359 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.7022, allocations: 130.3 kB / 1.351 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.538e-05/0.7022, allocations: 25.47 kB / 1.351 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.7022, allocations: 11.61 kB / 1.351 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/0.7027, allocations: 0.5972 MB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.7027, allocations: 32.75 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.7027, allocations: 0 / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.7029, allocations: 38.95 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.7029, allocations: 54.78 kB / 1.352 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.21e-05/0.7029, allocations: 93.5 kB / 1.352 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.703, allocations: 26.55 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.703, allocations: 81.41 kB / 1.352 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.703, allocations: 9.688 kB / 1.352 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.703, allocations: 0 / 1.352 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.389e-05/0.703, allocations: 323.6 kB / 1.352 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.7031, allocations: 5.125 kB / 1.352 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-06/0.7031, allocations: 2.25 kB / 1.352 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.7031, allocations: 3.344 kB / 1.352 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7031, allocations: 3.234 kB / 1.353 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.282e-05/0.7032, allocations: 39.22 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.7032, allocations: 4.938 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.7032, allocations: 1.094 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.7032, allocations: 0 / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.7033, allocations: 5.188 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.7033, allocations: 4 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.7033, allocations: 3.938 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.7033, allocations: 3.688 kB / 1.353 GB, free: 13.36 MB / 0.8073 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 3.57e-05/0.7033, allocations: 112.8 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.7034, allocations: 2.422 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.7035, allocations: 49.78 kB / 1.353 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7035, allocations: 0.75 kB / 1.353 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.7035, allocations: 0 / 1.353 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7035, allocations: 4.969 kB / 1.353 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.837e-05/0.7035, allocations: 133.8 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7035, allocations: 0 / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.7036, allocations: 3.375 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.7036, allocations: 0 / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.7036, allocations: 1.125 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7036, allocations: 0 / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7036, allocations: 1.156 kB / 1.353 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.932e-05/0.7037, allocations: 72.11 kB / 1.353 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.7037, allocations: 79.47 kB / 1.353 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.7037, allocations: 0.9688 kB / 1.353 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.7037, allocations: 0 / 1.353 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.7037, allocations: 10.09 kB / 1.353 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.7038, allocations: 1 kB / 1.353 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.843e-05/0.7038, allocations: 86.02 kB / 1.353 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001949/0.704, allocations: 17.11 kB / 1.353 GB, free: 12.79 MB / 0.8073 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.0001383/0.7041, allocations: 120.5 kB / 1.353 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.338e-05/0.7042, allocations: 6.875 kB / 1.353 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7042, allocations: 0 / 1.353 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/0.7042, allocations: 8.281 kB / 1.353 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.7043, allocations: 9.141 kB / 1.353 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000144/0.7045, allocations: 50.02 kB / 1.353 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.7046, allocations: 0.6861 MB / 1.354 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of SimCode: time 2.11e-07/0.7046, allocations: 4 kB / 1.354 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Templates: time 0.002377/0.707, allocations: 0.5726 MB / 1.355 GB, free: 11.87 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches