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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.407/2.407, allocations: 390.5 MB / 398 MB, free: 11 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.001312/0.001312, allocations: 180.9 kB / 491.2 MB, free: 1.613 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.648/1.648, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009098/0.0009101, allocations: 98.91 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.109e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3162, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.483/6.8, allocations: 1.923 GB / 3.135 GB, free: 343.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/6.8, allocations: 82.33 kB / 3.136 GB, free: 343.6 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 - DAE generated: time 1.886/8.686, allocations: 456.3 MB / 3.581 GB, free: 305.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.355e-06/8.686, allocations: 0 / 3.581 GB, free: 305.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001048/8.686, allocations: 20.45 kB / 3.581 GB, free: 305.7 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.005723/8.692, allocations: 1.506 MB / 3.583 GB, free: 305.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/8.692, allocations: 10.88 kB / 3.583 GB, free: 305.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/8.693, allocations: 159.9 kB / 3.583 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/8.695, allocations: 0.641 MB / 3.583 GB, free: 304.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/8.695, allocations: 29.53 kB / 3.583 GB, free: 304.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/8.696, allocations: 54.38 kB / 3.583 GB, free: 304.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00269/8.698, allocations: 1.307 MB / 3.585 GB, free: 304.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/8.701, allocations: 1.048 MB / 3.586 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/8.701, allocations: 0 / 3.586 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/8.701, allocations: 1.375 kB / 3.586 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/8.701, allocations: 51.44 kB / 3.586 GB, free: 304.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006273/8.707, allocations: 3.389 MB / 3.589 GB, free: 303.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/8.709, allocations: 1.37 MB / 3.59 GB, free: 303.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009042/8.71, allocations: 0.6641 MB / 3.591 GB, free: 303.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/8.711, allocations: 0.9652 MB / 3.592 GB, free: 302.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/8.712, allocations: 0.6758 MB / 3.593 GB, free: 302.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 4.318e-06/8.712, allocations: 3.938 kB / 3.593 GB, free: 302.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.003209/8.715, allocations: 1.409 MB / 3.594 GB, free: 302.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/8.715, allocations: 97.39 kB / 3.594 GB, free: 302 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/8.716, allocations: 0.5184 MB / 3.595 GB, free: 301.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/8.716, allocations: 25.7 kB / 3.595 GB, free: 301.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/8.717, allocations: 381.9 kB / 3.595 GB, free: 301.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/8.717, allocations: 402.1 kB / 3.595 GB, free: 301.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/8.717, allocations: 0 / 3.595 GB, free: 301.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001743/8.717, allocations: 399.8 kB / 3.596 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/8.718, allocations: 0.4906 MB / 3.596 GB, free: 301.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008422/8.719, allocations: 0.6691 MB / 3.597 GB, free: 300.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/8.721, allocations: 0.7105 MB / 3.598 GB, free: 300.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/8.721, allocations: 2.969 kB / 3.598 GB, free: 300.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003033/8.724, allocations: 1.541 MB / 3.599 GB, free: 300.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/8.724, allocations: 36.48 kB / 3.599 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/8.724, allocations: 7.781 kB / 3.599 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.164e-05/8.724, allocations: 10.03 kB / 3.599 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/8.725, allocations: 220.9 kB / 3.599 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/8.725, allocations: 12.22 kB / 3.599 GB, free: 300.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/8.726, allocations: 87.44 kB / 3.6 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/8.726, allocations: 51.75 kB / 3.6 GB, free: 300.7 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.0002748/8.726, allocations: 173.8 kB / 3.6 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/8.727, allocations: 91.22 kB / 3.6 GB, free: 300.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/8.73, allocations: 1.612 MB / 3.601 GB, free: 300.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/8.73, allocations: 11.28 kB / 3.601 GB, free: 300.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/8.73, allocations: 0 / 3.601 GB, free: 300.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/8.73, allocations: 7.734 kB / 3.601 GB, free: 300.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006045/8.736, allocations: 3.232 MB / 3.605 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/8.736, allocations: 6.969 kB / 3.605 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/8.737, allocations: 212 kB / 3.605 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/8.737, allocations: 10.66 kB / 3.605 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.744e-05/8.737, allocations: 20.28 kB / 3.605 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/8.737, allocations: 21.47 kB / 3.605 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/8.737, allocations: 10.11 kB / 3.605 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/8.742, allocations: 2.824 MB / 3.608 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007594/8.742, allocations: 325.2 kB / 3.608 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/8.743, allocations: 7.156 kB / 3.608 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008962/8.744, allocations: 34.41 kB / 3.608 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/8.744, allocations: 97.92 kB / 3.608 GB, free: 297.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/8.744, allocations: 45.66 kB / 3.608 GB, free: 297.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006591/8.745, allocations: 419.6 kB / 3.608 GB, free: 297.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/8.745, allocations: 2.156 kB / 3.608 GB, free: 297.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001935/8.747, allocations: 456.6 kB / 3.609 GB, free: 297.4 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.003238/8.75, allocations: 1.789 MB / 3.611 GB, free: 296.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002006/8.752, allocations: 1.248 MB / 3.612 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/8.752, allocations: 3.188 kB / 3.612 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/8.753, allocations: 0.6856 MB / 3.613 GB, free: 296.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/8.754, allocations: 220 kB / 3.613 GB, free: 296.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/8.758, allocations: 1.811 MB / 3.615 GB, free: 295.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/8.759, allocations: 1.127 MB / 3.616 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001573/8.761, allocations: 398.3 kB / 3.616 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/8.761, allocations: 85 kB / 3.616 GB, free: 294.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.324e-06/8.761, allocations: 0 / 3.616 GB, free: 294.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04176/8.803, allocations: 20.99 MB / 3.637 GB, free: 289.6 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