Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow") [: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.771/1.771, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009069/0.0009069, allocations: 182.9 kB / 490.8 MB, free: 1.871 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.127/1.127, allocations: 221.4 MB / 0.7863 GB, free: 13.58 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.000866/0.0008659, allocations: 108 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.741e-06/5.841e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1984, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.285/6.483, allocations: 4.425 GB / 5.637 GB, free: 109.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/6.484, allocations: 87.95 kB / 5.637 GB, free: 109 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.367/9.85, allocations: 1.401 GB / 7.038 GB, free: 15.92 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001505/9.851, allocations: 51.98 kB / 7.038 GB, free: 15.87 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003578/9.854, allocations: 2.375 MB / 7.04 GB, free: 13.45 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/9.854, allocations: 12.03 kB / 7.04 GB, free: 13.43 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/9.856, allocations: 424.2 kB / 7.041 GB, free: 13.02 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/9.859, allocations: 2.038 MB / 7.043 GB, free: 10.91 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/9.859, allocations: 40 kB / 7.043 GB, free: 10.87 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/9.859, allocations: 76 kB / 7.043 GB, free: 10.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001173/9.86, allocations: 0.8877 MB / 7.044 GB, free: 9.906 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/9.861, allocations: 1.381 MB / 7.045 GB, free: 8.375 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/9.861, allocations: 7.938 kB / 7.045 GB, free: 8.367 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/9.861, allocations: 11.88 kB / 7.045 GB, free: 8.355 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/9.862, allocations: 69.97 kB / 7.045 GB, free: 8.285 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005502/9.867, allocations: 8.865 MB / 7.054 GB, free: 14.91 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007654/9.868, allocations: 0.5887 MB / 7.054 GB, free: 14.32 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/9.868, allocations: 249.1 kB / 7.055 GB, free: 14.08 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/9.869, allocations: 0.7796 MB / 7.055 GB, free: 13.13 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/9.869, allocations: 39 kB / 7.055 GB, free: 13.09 MB / 1.182 GB Notification: Performance of pre-optimization done (n=50): time 1.903e-06/9.869, allocations: 0 / 7.055 GB, free: 13.09 MB / 1.182 GB Notification: Performance of matching and sorting (n=50): time 0.001361/9.87, allocations: 0.6845 MB / 7.056 GB, free: 12.39 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/9.87, allocations: 55.84 kB / 7.056 GB, free: 12.32 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/9.874, allocations: 2.801 MB / 7.059 GB, free: 9.488 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/9.874, allocations: 25.7 kB / 7.059 GB, free: 9.457 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/9.874, allocations: 0.6449 MB / 7.06 GB, free: 8.801 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/9.874, allocations: 173.3 kB / 7.06 GB, free: 8.629 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/9.874, allocations: 0 / 7.06 GB, free: 8.629 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/9.874, allocations: 330 kB / 7.06 GB, free: 8.301 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/9.874, allocations: 180.9 kB / 7.06 GB, free: 8.125 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/9.875, allocations: 291.1 kB / 7.06 GB, free: 7.801 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/9.875, allocations: 227.7 kB / 7.061 GB, free: 7.578 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/9.875, allocations: 4 kB / 7.061 GB, free: 7.574 MB / 1.182 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001046/9.876, allocations: 0.6866 MB / 7.061 GB, free: 6.879 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/9.876, allocations: 5.25 kB / 7.061 GB, free: 6.875 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/9.876, allocations: 4 kB / 7.061 GB, free: 6.871 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/9.876, allocations: 4 kB / 7.061 GB, free: 6.867 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/9.877, allocations: 120.1 kB / 7.061 GB, free: 6.75 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/9.877, allocations: 11.92 kB / 7.061 GB, free: 6.738 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/9.878, allocations: 95.66 kB / 7.062 GB, free: 6.645 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.974e-05/9.878, allocations: 37.62 kB / 7.062 GB, free: 6.609 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0001022/9.878, allocations: 114.5 kB / 7.062 GB, free: 6.492 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/9.878, allocations: 185.6 kB / 7.062 GB, free: 6.309 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/9.879, allocations: 0.8348 MB / 7.063 GB, free: 5.469 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/9.879, allocations: 4 kB / 7.063 GB, free: 5.465 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/9.879, allocations: 0 / 7.063 GB, free: 5.465 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/9.879, allocations: 4.125 kB / 7.063 GB, free: 5.461 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/9.883, allocations: 2.404 MB / 7.065 GB, free: 2.988 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/9.883, allocations: 3.984 kB / 7.065 GB, free: 2.984 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/9.883, allocations: 107.8 kB / 7.065 GB, free: 2.879 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/9.883, allocations: 4 kB / 7.065 GB, free: 2.875 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/9.884, allocations: 24.66 kB / 7.065 GB, free: 2.852 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/9.884, allocations: 4 kB / 7.065 GB, free: 2.848 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/9.884, allocations: 4 kB / 7.065 GB, free: 2.844 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001447/9.885, allocations: 1.24 MB / 7.066 GB, free: 1.52 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/9.886, allocations: 0.5139 MB / 7.067 GB, free: 0.9844 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/9.886, allocations: 7.984 kB / 7.067 GB, free: 0.9766 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/9.887, allocations: 83.92 kB / 7.067 GB, free: 0.8945 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/9.887, allocations: 44.28 kB / 7.067 GB, free: 0.8516 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/9.887, allocations: 24 kB / 7.067 GB, free: 0.8281 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.336/10.22, allocations: 2.166 MB / 7.069 GB, free: 303.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002089/10.23, allocations: 0.7703 MB / 7.07 GB, free: 303.9 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.004372/10.23, allocations: 3.831 MB / 7.074 GB, free: 302.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0005819/10.23, allocations: 439.7 kB / 7.074 GB, free: 302.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/10.23, allocations: 0 / 7.074 GB, free: 302.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/10.23, allocations: 245.4 kB / 7.074 GB, free: 302.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/10.23, allocations: 404.2 kB / 7.075 GB, free: 302.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/10.24, allocations: 3.419 MB / 7.078 GB, free: 301.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/10.24, allocations: 1.892 MB / 7.08 GB, free: 301.1 MB / 1.182 GB Notification: Performance of SimCode: time 3.9e-07/10.24, allocations: 0 / 7.08 GB, free: 301.1 MB / 1.182 GB Notification: Performance of Templates: time 0.05148/10.29, allocations: 38.18 MB / 7.117 GB, free: 300.5 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches