Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.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.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.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.843/1.843, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001064/0.001064, allocations: 189.2 kB / 487 MB, free: 5.367 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.187/1.187, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008799/0.0008798, allocations: 86.02 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.941e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2055, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.117/3.323, allocations: 1.911 GB / 3.116 GB, free: 417.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/3.323, allocations: 81.39 kB / 3.116 GB, free: 417.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.481/4.804, allocations: 0.6812 GB / 3.797 GB, free: 159.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.983e-05/4.804, allocations: 16 kB / 3.797 GB, free: 159.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002142/4.806, allocations: 1.22 MB / 3.798 GB, free: 158.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/4.806, allocations: 13.03 kB / 3.798 GB, free: 158.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/4.807, allocations: 246.7 kB / 3.799 GB, free: 158.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009227/4.808, allocations: 0.6362 MB / 3.799 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/4.808, allocations: 16 kB / 3.799 GB, free: 157.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/4.809, allocations: 39.98 kB / 3.799 GB, free: 157.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/4.81, allocations: 0.8931 MB / 3.8 GB, free: 156.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/4.811, allocations: 0.9401 MB / 3.801 GB, free: 155.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/4.811, allocations: 11.84 kB / 3.801 GB, free: 155.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/4.811, allocations: 4 kB / 3.801 GB, free: 155.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/4.811, allocations: 16 kB / 3.801 GB, free: 155.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/4.815, allocations: 4.529 MB / 3.805 GB, free: 150.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/4.816, allocations: 0.6086 MB / 3.806 GB, free: 150.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/4.816, allocations: 0.5167 MB / 3.807 GB, free: 149.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007467/4.817, allocations: 1.041 MB / 3.808 GB, free: 148.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/4.817, allocations: 43 kB / 3.808 GB, free: 148.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 1.914e-06/4.817, allocations: 0 / 3.808 GB, free: 148.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.01107/4.828, allocations: 2.524 MB / 3.81 GB, free: 145.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/4.828, allocations: 59.84 kB / 3.81 GB, free: 145.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/4.828, allocations: 442.5 kB / 3.811 GB, free: 145.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/4.828, allocations: 25.7 kB / 3.811 GB, free: 145.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/4.829, allocations: 240.6 kB / 3.811 GB, free: 144.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/4.829, allocations: 177.3 kB / 3.811 GB, free: 144.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/4.829, allocations: 0 / 3.811 GB, free: 144.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/4.829, allocations: 374.7 kB / 3.811 GB, free: 144.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/4.829, allocations: 372.9 kB / 3.812 GB, free: 144 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/4.83, allocations: 457.7 kB / 3.812 GB, free: 143.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/4.83, allocations: 456.5 kB / 3.813 GB, free: 143.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/4.83, allocations: 0 / 3.813 GB, free: 143.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0106/4.841, allocations: 2.505 MB / 3.815 GB, free: 140.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/4.841, allocations: 8 kB / 3.815 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/4.841, allocations: 0 / 3.815 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008992/4.85, allocations: 1.652 MB / 3.817 GB, free: 138.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/4.85, allocations: 99.8 kB / 3.817 GB, free: 138.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/4.861, allocations: 6.172 MB / 3.823 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/4.862, allocations: 51.56 kB / 3.823 GB, free: 132.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/4.862, allocations: 48.06 kB / 3.823 GB, free: 132.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(5,92.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/4.862, allocations: 112.8 kB / 3.823 GB, free: 132.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/4.862, allocations: 75.16 kB / 3.823 GB, free: 132.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004907/4.867, allocations: 1.703 MB / 3.825 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/4.867, allocations: 8 kB / 3.825 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/4.867, allocations: 4 kB / 3.825 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/4.867, allocations: 7.984 kB / 3.825 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/4.872, allocations: 2.411 MB / 3.827 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/4.872, allocations: 4 kB / 3.827 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/4.873, allocations: 100.1 kB / 3.827 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003225/4.876, allocations: 0.7198 MB / 3.828 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/4.876, allocations: 7.984 kB / 3.828 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/4.881, allocations: 4.269 MB / 3.832 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/4.881, allocations: 0 / 3.832 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00452/4.885, allocations: 2.181 MB / 3.834 GB, free: 120.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/4.886, allocations: 219.9 kB / 3.834 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/4.886, allocations: 7.984 kB / 3.834 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/4.886, allocations: 27.92 kB / 3.834 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/4.887, allocations: 48.34 kB / 3.835 GB, free: 119.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/4.887, allocations: 20 kB / 3.835 GB, free: 119.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003246/4.887, allocations: 346.9 kB / 3.835 GB, free: 119.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001177/4.888, allocations: 399.6 kB / 3.835 GB, free: 119.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001697/4.89, allocations: 1.938 MB / 3.837 GB, free: 117.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002504/4.892, allocations: 1.25 MB / 3.838 GB, free: 115.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/4.892, allocations: 0 / 3.838 GB, free: 115.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/4.894, allocations: 0.8063 MB / 3.839 GB, free: 115.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/4.895, allocations: 312 kB / 3.839 GB, free: 114.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/4.897, allocations: 1.361 MB / 3.841 GB, free: 113.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/4.898, allocations: 1.044 MB / 3.842 GB, free: 112.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/4.898, allocations: 0 / 3.842 GB, free: 112.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03073/4.928, allocations: 26.89 MB / 3.868 GB, free: 85.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches