Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.772/1.772, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0008932/0.0008932, allocations: 191.1 kB / 490.8 MB, free: 1.918 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.115/1.115, allocations: 221.3 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 93.17 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.531e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.206, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.038/3.244, allocations: 1.911 GB / 3.123 GB, free: 426.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/3.244, allocations: 87.95 kB / 3.123 GB, free: 426.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.509/4.753, allocations: 0.6812 GB / 3.804 GB, free: 164.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.154e-05/4.753, allocations: 23.98 kB / 3.804 GB, free: 164.4 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.002127/4.755, allocations: 1.212 MB / 3.805 GB, free: 163.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/4.755, allocations: 8.031 kB / 3.805 GB, free: 163.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/4.756, allocations: 250.6 kB / 3.806 GB, free: 162.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/4.757, allocations: 0.64 MB / 3.806 GB, free: 162.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/4.757, allocations: 16 kB / 3.806 GB, free: 162.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/4.757, allocations: 32 kB / 3.806 GB, free: 162.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001072/4.758, allocations: 0.9007 MB / 3.807 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/4.759, allocations: 0.9285 MB / 3.808 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/4.759, allocations: 8.062 kB / 3.808 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/4.759, allocations: 4 kB / 3.808 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/4.759, allocations: 15.94 kB / 3.808 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/4.764, allocations: 4.532 MB / 3.813 GB, free: 155.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/4.764, allocations: 0.6009 MB / 3.813 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/4.765, allocations: 0.5136 MB / 3.814 GB, free: 154.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/4.765, allocations: 1.048 MB / 3.815 GB, free: 153.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/4.765, allocations: 35 kB / 3.815 GB, free: 153 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 2.004e-06/4.765, allocations: 0 / 3.815 GB, free: 153 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.01102/4.776, allocations: 2.521 MB / 3.817 GB, free: 150.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/4.776, allocations: 55.84 kB / 3.817 GB, free: 150.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/4.777, allocations: 450.5 kB / 3.818 GB, free: 150 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/4.777, allocations: 25.7 kB / 3.818 GB, free: 150 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/4.777, allocations: 228.7 kB / 3.818 GB, free: 149.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/4.777, allocations: 177.3 kB / 3.818 GB, free: 149.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/4.777, allocations: 0 / 3.818 GB, free: 149.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/4.777, allocations: 378.8 kB / 3.818 GB, free: 149.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/4.778, allocations: 368.8 kB / 3.819 GB, free: 148.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/4.778, allocations: 461.7 kB / 3.819 GB, free: 148.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/4.779, allocations: 448.5 kB / 3.82 GB, free: 147.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/4.779, allocations: 0 / 3.82 GB, free: 147.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01055/4.789, allocations: 2.513 MB / 3.822 GB, free: 145.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/4.789, allocations: 4 kB / 3.822 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/4.789, allocations: 4 kB / 3.822 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008983/4.798, allocations: 1.664 MB / 3.824 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/4.799, allocations: 95.88 kB / 3.824 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009892/4.809, allocations: 6.188 MB / 3.83 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/4.81, allocations: 47.58 kB / 3.83 GB, free: 137.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/4.81, allocations: 47.92 kB / 3.83 GB, free: 137.1 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.0001692/4.81, allocations: 112.9 kB / 3.83 GB, free: 136.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/4.81, allocations: 71.16 kB / 3.83 GB, free: 136.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/4.815, allocations: 1.702 MB / 3.832 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/4.815, allocations: 8 kB / 3.832 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/4.815, allocations: 4 kB / 3.832 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/4.815, allocations: 3.984 kB / 3.832 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/4.82, allocations: 2.426 MB / 3.834 GB, free: 132.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/4.82, allocations: 0 / 3.834 GB, free: 132.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/4.821, allocations: 104.1 kB / 3.834 GB, free: 132.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/4.824, allocations: 0.7158 MB / 3.835 GB, free: 131.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/4.824, allocations: 8 kB / 3.835 GB, free: 131.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/4.829, allocations: 4.262 MB / 3.839 GB, free: 127.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/4.829, allocations: 4 kB / 3.839 GB, free: 127.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004491/4.833, allocations: 2.177 MB / 3.841 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/4.834, allocations: 220 kB / 3.842 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/4.834, allocations: 7.906 kB / 3.842 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/4.834, allocations: 27.97 kB / 3.842 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/4.835, allocations: 36.45 kB / 3.842 GB, free: 124.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/4.835, allocations: 27.89 kB / 3.842 GB, free: 124.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003148/4.835, allocations: 342.9 kB / 3.842 GB, free: 124.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001138/4.836, allocations: 411.6 kB / 3.842 GB, free: 124 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.001688/4.838, allocations: 1.934 MB / 3.844 GB, free: 122 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00246/4.84, allocations: 1.246 MB / 3.845 GB, free: 120.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/4.84, allocations: 4 kB / 3.845 GB, free: 120.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/4.842, allocations: 0.8138 MB / 3.846 GB, free: 119.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/4.843, allocations: 309.2 kB / 3.847 GB, free: 119.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/4.845, allocations: 1.349 MB / 3.848 GB, free: 118.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/4.845, allocations: 1.044 MB / 3.849 GB, free: 117.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/4.845, allocations: 4 kB / 3.849 GB, free: 117.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03059/4.876, allocations: 26.9 MB / 3.875 GB, free: 90.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches