Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") [: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.794/1.794, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009019/0.0009021, allocations: 182.1 kB / 490.8 MB, free: 1.965 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.129/1.129, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.0008519/0.000852, allocations: 80.8 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.101e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.206/3.398, allocations: 1.92 GB / 3.132 GB, free: 417.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/3.398, allocations: 83.95 kB / 3.132 GB, free: 417.1 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 1.536/4.934, allocations: 0.6673 GB / 3.799 GB, free: 170.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.205e-05/4.934, allocations: 20 kB / 3.799 GB, free: 170.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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003638/4.938, allocations: 1.375 MB / 3.801 GB, free: 169 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/4.938, allocations: 8.031 kB / 3.801 GB, free: 168.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/4.939, allocations: 150.8 kB / 3.801 GB, free: 168.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/4.94, allocations: 0.563 MB / 3.801 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/4.94, allocations: 24 kB / 3.801 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/4.94, allocations: 47.89 kB / 3.802 GB, free: 168.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008949/4.941, allocations: 0.5702 MB / 3.802 GB, free: 167.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009519/4.942, allocations: 0.7191 MB / 3.803 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/4.942, allocations: 8 kB / 3.803 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/4.942, allocations: 0 / 3.803 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/4.942, allocations: 41.98 kB / 3.803 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/4.946, allocations: 4.51 MB / 3.807 GB, free: 161.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/4.947, allocations: 411.6 kB / 3.808 GB, free: 161.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/4.947, allocations: 169.5 kB / 3.808 GB, free: 161.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/4.947, allocations: 0.76 MB / 3.809 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/4.947, allocations: 46.88 kB / 3.809 GB, free: 160.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/4.947, allocations: 0 / 3.809 GB, free: 160.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0008229/4.948, allocations: 407 kB / 3.809 GB, free: 159.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.757e-05/4.948, allocations: 55.41 kB / 3.809 GB, free: 159.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/4.949, allocations: 494.2 kB / 3.81 GB, free: 159.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/4.949, allocations: 29.64 kB / 3.81 GB, free: 159.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/4.949, allocations: 343 kB / 3.81 GB, free: 158.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/4.949, allocations: 134 kB / 3.81 GB, free: 158.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/4.949, allocations: 4 kB / 3.81 GB, free: 158.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.079e-05/4.949, allocations: 362.8 kB / 3.81 GB, free: 158.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/4.949, allocations: 168.9 kB / 3.811 GB, free: 158.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/4.95, allocations: 312.2 kB / 3.811 GB, free: 157.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/4.95, allocations: 216.6 kB / 3.811 GB, free: 157.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/4.95, allocations: 0 / 3.811 GB, free: 157.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007194/4.951, allocations: 0.5276 MB / 3.812 GB, free: 157.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/4.951, allocations: 7.984 kB / 3.812 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/4.951, allocations: 4 kB / 3.812 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/4.951, allocations: 11.91 kB / 3.812 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/4.951, allocations: 100.4 kB / 3.812 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/4.951, allocations: 15.94 kB / 3.812 GB, free: 156.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/4.952, allocations: 71.48 kB / 3.812 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/4.952, allocations: 31.97 kB / 3.812 GB, free: 156.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 9.11e-05/4.952, allocations: 120.8 kB / 3.812 GB, free: 156.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/4.952, allocations: 59.25 kB / 3.812 GB, free: 156.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/4.953, allocations: 481.7 kB / 3.812 GB, free: 156.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/4.953, allocations: 4 kB / 3.812 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/4.953, allocations: 4 kB / 3.812 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/4.953, allocations: 3.984 kB / 3.812 GB, free: 156.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/4.955, allocations: 1.939 MB / 3.814 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/4.955, allocations: 12 kB / 3.814 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/4.956, allocations: 92.59 kB / 3.814 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/4.956, allocations: 16 kB / 3.814 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/4.956, allocations: 11.98 kB / 3.814 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/4.956, allocations: 12 kB / 3.814 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/4.956, allocations: 11.94 kB / 3.814 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009346/4.957, allocations: 1.271 MB / 3.816 GB, free: 152.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/4.957, allocations: 196.2 kB / 3.816 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/4.957, allocations: 11.98 kB / 3.816 GB, free: 152.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/4.958, allocations: 55.92 kB / 3.816 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/4.958, allocations: 39.75 kB / 3.816 GB, free: 152 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/4.958, allocations: 24 kB / 3.816 GB, free: 152 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003371/4.958, allocations: 398.9 kB / 3.816 GB, free: 151.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001126/4.959, allocations: 399.3 kB / 3.817 GB, free: 151.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.00247/4.962, allocations: 2.315 MB / 3.819 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005502/4.962, allocations: 403 kB / 3.819 GB, free: 148.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/4.962, allocations: 4 kB / 3.819 GB, free: 148.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/4.963, allocations: 217.4 kB / 3.82 GB, free: 148.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/4.964, allocations: 220.3 kB / 3.82 GB, free: 147.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/4.966, allocations: 1.151 MB / 3.821 GB, free: 146.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/4.966, allocations: 1.1 MB / 3.822 GB, free: 145.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/4.966, allocations: 0 / 3.822 GB, free: 145.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02751/4.994, allocations: 21.58 MB / 3.843 GB, free: 124.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches