Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001172/0.001172, allocations: 183.4 kB / 498.1 MB, free: 5.68 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.545/1.545, allocations: 223.2 MB / 0.7949 GB, free: 18.82 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.0008765/0.0008763, allocations: 92.77 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 9.969 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2719, allocations: 142.4 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.633/4.905, allocations: 1.92 GB / 3.143 GB, free: 29.93 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/4.906, allocations: 99.55 kB / 3.143 GB, free: 29.88 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 2.94/7.846, allocations: 0.6687 GB / 3.812 GB, free: 275.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.024e-06/7.846, allocations: 0 / 3.812 GB, free: 275.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.057e-05/7.846, allocations: 29.52 kB / 3.812 GB, free: 275.2 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004562/7.851, allocations: 1.476 MB / 3.814 GB, free: 273.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/7.851, allocations: 8.031 kB / 3.814 GB, free: 273.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/7.851, allocations: 156.9 kB / 3.814 GB, free: 273.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/7.853, allocations: 0.5696 MB / 3.814 GB, free: 273 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/7.853, allocations: 52.62 kB / 3.814 GB, free: 273 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/7.853, allocations: 71.83 kB / 3.814 GB, free: 272.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/7.854, allocations: 0.8313 MB / 3.815 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/7.854, allocations: 0 / 3.815 GB, free: 272.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/7.854, allocations: 32 kB / 3.815 GB, free: 272 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/7.854, allocations: 44.98 kB / 3.815 GB, free: 272 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/7.855, allocations: 0.7222 MB / 3.816 GB, free: 271.3 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.004679/7.86, allocations: 4.592 MB / 3.821 GB, free: 266.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/7.861, allocations: 474.8 kB / 3.821 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/7.861, allocations: 0.7618 MB / 3.822 GB, free: 264.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/7.861, allocations: 38.89 kB / 3.822 GB, free: 264.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/7.861, allocations: 0 / 3.822 GB, free: 264.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.001142/7.863, allocations: 0.6205 MB / 3.822 GB, free: 264.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/7.863, allocations: 59.36 kB / 3.822 GB, free: 264.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008196/7.863, allocations: 0.7736 MB / 3.823 GB, free: 263.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/7.863, allocations: 29.7 kB / 3.823 GB, free: 263.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/7.864, allocations: 392.3 kB / 3.824 GB, free: 262.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/7.864, allocations: 141 kB / 3.824 GB, free: 262.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/7.864, allocations: 8 kB / 3.824 GB, free: 262.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/7.864, allocations: 329.6 kB / 3.824 GB, free: 262.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/7.864, allocations: 185 kB / 3.824 GB, free: 262.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/7.865, allocations: 290.8 kB / 3.825 GB, free: 261.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/7.865, allocations: 221.1 kB / 3.825 GB, free: 261.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/7.865, allocations: 4 kB / 3.825 GB, free: 261.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008269/7.866, allocations: 0.5866 MB / 3.825 GB, free: 261.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/7.866, allocations: 7.984 kB / 3.825 GB, free: 261.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/7.866, allocations: 8 kB / 3.825 GB, free: 261.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/7.866, allocations: 4 kB / 3.825 GB, free: 261.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/7.866, allocations: 99.89 kB / 3.825 GB, free: 261 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/7.866, allocations: 11.53 kB / 3.825 GB, free: 261 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/7.867, allocations: 110.5 kB / 3.826 GB, free: 260.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/7.867, allocations: 26.5 kB / 3.826 GB, free: 260.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.0003223/7.868, allocations: 237.7 kB / 3.826 GB, free: 260.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/7.868, allocations: 79.06 kB / 3.826 GB, free: 260.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008789/7.869, allocations: 0.5621 MB / 3.826 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/7.869, allocations: 7.156 kB / 3.826 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/7.869, allocations: 0 / 3.826 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/7.869, allocations: 7.922 kB / 3.826 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/7.871, allocations: 2.077 MB / 3.828 GB, free: 257.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/7.871, allocations: 4 kB / 3.828 GB, free: 257.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/7.872, allocations: 91.84 kB / 3.829 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/7.872, allocations: 11.62 kB / 3.829 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/7.872, allocations: 23.98 kB / 3.829 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/7.872, allocations: 15.89 kB / 3.829 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/7.872, allocations: 8 kB / 3.829 GB, free: 257.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/7.873, allocations: 1.291 MB / 3.83 GB, free: 256.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/7.874, allocations: 219.9 kB / 3.83 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/7.874, allocations: 19.98 kB / 3.83 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/7.874, allocations: 57.48 kB / 3.83 GB, free: 255.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/7.874, allocations: 47.31 kB / 3.83 GB, free: 255.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/7.874, allocations: 20 kB / 3.83 GB, free: 255.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007136/7.875, allocations: 0.6317 MB / 3.831 GB, free: 255.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.693e-06/7.875, allocations: 0 / 3.831 GB, free: 255.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001744/7.877, allocations: 450.5 kB / 3.831 GB, free: 254.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.003006/7.88, allocations: 2.055 MB / 3.833 GB, free: 253 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008155/7.881, allocations: 455.6 kB / 3.834 GB, free: 252.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/7.881, allocations: 4 kB / 3.834 GB, free: 252.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/7.881, allocations: 233 kB / 3.834 GB, free: 252.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/7.883, allocations: 483.3 kB / 3.834 GB, free: 251.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/7.885, allocations: 1.798 MB / 3.836 GB, free: 250 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/7.886, allocations: 1.022 MB / 3.837 GB, free: 249 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007483/7.887, allocations: 187.2 kB / 3.837 GB, free: 248.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/7.887, allocations: 63.42 kB / 3.837 GB, free: 248.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.563e-06/7.887, allocations: 0 / 3.837 GB, free: 248.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05111/7.938, allocations: 39.53 MB / 3.876 GB, free: 209.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches