Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=96,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") [: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.743/1.743, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.000924/0.000924, allocations: 187.9 kB / 490.8 MB, free: 1.934 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.089/1.089, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.000825/0.000825, allocations: 87.3 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.33e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1725, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.842/3.014, allocations: 1.923 GB / 3.135 GB, free: 393.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001605/3.014, allocations: 79.95 kB / 3.135 GB, free: 393.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.074/4.089, allocations: 461.3 MB / 3.585 GB, free: 297.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.46e-05/4.089, allocations: 26.45 kB / 3.585 GB, free: 297.9 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002913/4.092, allocations: 1.522 MB / 3.587 GB, free: 297.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/4.092, allocations: 7.5 kB / 3.587 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/4.092, allocations: 162.7 kB / 3.587 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009185/4.093, allocations: 0.6505 MB / 3.587 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/4.093, allocations: 26.72 kB / 3.587 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/4.093, allocations: 51.12 kB / 3.588 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001585/4.095, allocations: 1.321 MB / 3.589 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/4.096, allocations: 1.065 MB / 3.59 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/4.096, allocations: 0 / 3.59 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/4.096, allocations: 3.797 kB / 3.59 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/4.096, allocations: 52.98 kB / 3.59 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/4.101, allocations: 3.502 MB / 3.593 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/4.102, allocations: 1.289 MB / 3.595 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/4.103, allocations: 0.6858 MB / 3.595 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/4.103, allocations: 0.9629 MB / 3.596 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/4.104, allocations: 0.6886 MB / 3.597 GB, free: 294.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 2.174e-06/4.104, allocations: 0 / 3.597 GB, free: 294.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.002342/4.106, allocations: 1.39 MB / 3.598 GB, free: 294.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/4.106, allocations: 93.02 kB / 3.598 GB, free: 294.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/4.107, allocations: 0.5272 MB / 3.599 GB, free: 294 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/4.107, allocations: 25.7 kB / 3.599 GB, free: 294 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/4.107, allocations: 297.4 kB / 3.599 GB, free: 293.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/4.107, allocations: 396.7 kB / 3.6 GB, free: 293.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/4.107, allocations: 2.938 kB / 3.6 GB, free: 293.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/4.107, allocations: 397.1 kB / 3.6 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/4.108, allocations: 0.5095 MB / 3.6 GB, free: 293.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/4.108, allocations: 0.688 MB / 3.601 GB, free: 293.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/4.11, allocations: 0.7546 MB / 3.602 GB, free: 293.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/4.11, allocations: 3.938 kB / 3.602 GB, free: 293.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002286/4.112, allocations: 1.513 MB / 3.603 GB, free: 293 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/4.112, allocations: 3.688 kB / 3.603 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/4.112, allocations: 3.688 kB / 3.603 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/4.112, allocations: 15.34 kB / 3.603 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/4.113, allocations: 228 kB / 3.604 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/4.113, allocations: 17.58 kB / 3.604 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/4.114, allocations: 94.48 kB / 3.604 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-05/4.114, allocations: 53.77 kB / 3.604 GB, free: 293 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0001621/4.114, allocations: 159 kB / 3.604 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/4.114, allocations: 88.06 kB / 3.604 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/4.117, allocations: 1.608 MB / 3.605 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/4.117, allocations: 11.69 kB / 3.605 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/4.117, allocations: 0 / 3.605 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/4.117, allocations: 6.891 kB / 3.605 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/4.121, allocations: 3.241 MB / 3.609 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/4.121, allocations: 6.969 kB / 3.609 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/4.122, allocations: 201.9 kB / 3.609 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/4.122, allocations: 13.81 kB / 3.609 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/4.122, allocations: 20.38 kB / 3.609 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/4.122, allocations: 17.41 kB / 3.609 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/4.122, allocations: 16.94 kB / 3.609 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003076/4.125, allocations: 2.826 MB / 3.612 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/4.126, allocations: 331 kB / 3.612 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/4.126, allocations: 9.312 kB / 3.612 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/4.126, allocations: 36.64 kB / 3.612 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/4.127, allocations: 82.03 kB / 3.612 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/4.127, allocations: 55.86 kB / 3.612 GB, free: 291.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003371/4.127, allocations: 414 kB / 3.613 GB, free: 291 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001049/4.128, allocations: 463.3 kB / 3.613 GB, free: 291 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.001641/4.13, allocations: 1.802 MB / 3.615 GB, free: 290.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001293/4.131, allocations: 1.246 MB / 3.616 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/4.131, allocations: 3.781 kB / 3.616 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006394/4.132, allocations: 0.6855 MB / 3.617 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009908/4.133, allocations: 207.5 kB / 3.617 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/4.135, allocations: 1.864 MB / 3.619 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/4.136, allocations: 1.235 MB / 3.62 GB, free: 289.2 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/4.136, allocations: 0 / 3.62 GB, free: 289.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03395/4.17, allocations: 23.86 MB / 3.643 GB, free: 288.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches