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.487/2.487, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001216/0.001216, allocations: 175.9 kB / 0.4902 GB, free: 2.246 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.742/1.742, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001095/0.001095, allocations: 93.7 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 11.03 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3649, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.84/5.205, allocations: 1.924 GB / 3.153 GB, free: 57.32 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/5.205, allocations: 88.95 kB / 3.153 GB, free: 57.23 MB / 1.167 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.612/6.817, allocations: 462.7 MB / 3.605 GB, free: 58.59 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.975e-06/6.817, allocations: 0 / 3.605 GB, free: 58.59 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.871e-05/6.817, allocations: 27.98 kB / 3.605 GB, free: 58.56 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004457/6.821, allocations: 1.642 MB / 3.607 GB, free: 56.86 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/6.821, allocations: 8.031 kB / 3.607 GB, free: 56.86 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/6.822, allocations: 162.5 kB / 3.607 GB, free: 56.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/6.823, allocations: 0.6445 MB / 3.607 GB, free: 56.01 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/6.823, allocations: 69.98 kB / 3.607 GB, free: 55.94 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/6.823, allocations: 84 kB / 3.608 GB, free: 55.86 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/6.825, allocations: 1.176 MB / 3.609 GB, free: 54.67 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/6.825, allocations: 3.938 kB / 3.609 GB, free: 54.66 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/6.825, allocations: 36 kB / 3.609 GB, free: 54.63 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/6.825, allocations: 49.98 kB / 3.609 GB, free: 54.58 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/6.827, allocations: 1.472 MB / 3.61 GB, free: 53.11 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004697/6.832, allocations: 3.598 MB / 3.614 GB, free: 49.27 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/6.833, allocations: 1.465 MB / 3.615 GB, free: 47.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/6.834, allocations: 0.962 MB / 3.616 GB, free: 46.63 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008609/6.835, allocations: 0.7124 MB / 3.617 GB, free: 45.91 MB / 1.167 GB Notification: Performance of pre-optimization done (n=123): time 3.066e-06/6.835, allocations: 3.938 kB / 3.617 GB, free: 45.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=123): time 0.002874/6.838, allocations: 2.012 MB / 3.619 GB, free: 43.86 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/6.838, allocations: 102 kB / 3.619 GB, free: 43.74 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/6.839, allocations: 0.7421 MB / 3.62 GB, free: 42.99 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/6.839, allocations: 49.7 kB / 3.62 GB, free: 42.94 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/6.839, allocations: 361.4 kB / 3.62 GB, free: 42.58 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/6.839, allocations: 425.9 kB / 3.62 GB, free: 42.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/6.839, allocations: 20 kB / 3.62 GB, free: 42.14 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/6.84, allocations: 357.9 kB / 3.621 GB, free: 41.78 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006337/6.84, allocations: 0.5218 MB / 3.621 GB, free: 41.26 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/6.841, allocations: 0.6683 MB / 3.622 GB, free: 40.55 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/6.842, allocations: 0.656 MB / 3.623 GB, free: 39.89 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/6.842, allocations: 0 / 3.623 GB, free: 39.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001958/6.844, allocations: 1.548 MB / 3.624 GB, free: 38.33 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/6.844, allocations: 37.73 kB / 3.624 GB, free: 38.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/6.844, allocations: 0 / 3.624 GB, free: 38.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/6.844, allocations: 8 kB / 3.624 GB, free: 38.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/6.845, allocations: 231.7 kB / 3.624 GB, free: 38.05 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/6.845, allocations: 7.984 kB / 3.624 GB, free: 38.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008974/6.846, allocations: 130.7 kB / 3.624 GB, free: 37.92 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/6.846, allocations: 55.98 kB / 3.625 GB, free: 37.86 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * Number of clocked 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.0004891/6.846, allocations: 367.1 kB / 3.625 GB, free: 37.49 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/6.846, allocations: 106.7 kB / 3.625 GB, free: 37.38 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/6.849, allocations: 1.657 MB / 3.627 GB, free: 35.71 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/6.849, allocations: 12 kB / 3.627 GB, free: 35.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/6.849, allocations: 64 / 3.627 GB, free: 35.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/6.849, allocations: 11.97 kB / 3.627 GB, free: 35.68 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/6.853, allocations: 3.436 MB / 3.63 GB, free: 32.09 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/6.853, allocations: 8 kB / 3.63 GB, free: 32.08 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/6.854, allocations: 199.7 kB / 3.63 GB, free: 31.89 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/6.854, allocations: 12 kB / 3.63 GB, free: 31.88 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/6.854, allocations: 35.98 kB / 3.63 GB, free: 31.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/6.854, allocations: 15.94 kB / 3.63 GB, free: 31.82 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/6.854, allocations: 8 kB / 3.63 GB, free: 31.82 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/6.857, allocations: 2.879 MB / 3.633 GB, free: 28.69 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006625/6.858, allocations: 351.4 kB / 3.633 GB, free: 28.33 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/6.858, allocations: 28 kB / 3.633 GB, free: 28.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/6.859, allocations: 47.97 kB / 3.633 GB, free: 28.25 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/6.859, allocations: 96.73 kB / 3.634 GB, free: 28.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/6.859, allocations: 48 kB / 3.634 GB, free: 28.11 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007295/6.86, allocations: 0.5966 MB / 3.634 GB, free: 27.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/6.86, allocations: 0 / 3.634 GB, free: 27.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001784/6.862, allocations: 0.5152 MB / 3.635 GB, free: 27.01 MB / 1.167 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) * Number of clocked states: 0 () * 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.002371/6.864, allocations: 1.618 MB / 3.636 GB, free: 25.32 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001868/6.866, allocations: 1.338 MB / 3.638 GB, free: 23.98 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/6.866, allocations: 4 kB / 3.638 GB, free: 23.97 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008118/6.867, allocations: 0.7289 MB / 3.638 GB, free: 23.23 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/6.869, allocations: 419.5 kB / 3.639 GB, free: 22.82 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/6.872, allocations: 2.644 MB / 3.641 GB, free: 20.07 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/6.872, allocations: 1.122 MB / 3.642 GB, free: 18.92 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001247/6.874, allocations: 432 kB / 3.643 GB, free: 18.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/6.874, allocations: 91.42 kB / 3.643 GB, free: 18.41 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/6.874, allocations: 0 / 3.643 GB, free: 18.41 MB / 1.167 GB Notification: Performance of Templates: time 0.7041/7.578, allocations: 35.38 MB / 3.677 GB, free: 293.7 MB / 1.167 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