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.566/2.566, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001034/0.001034, allocations: 188.8 kB / 487.4 MB, free: 5.039 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.8/1.8, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.0009612, allocations: 91.91 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/2.017e-05, allocations: 5.328 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3833, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.375/6.758, allocations: 1.92 GB / 3.126 GB, free: 432.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/6.758, allocations: 86.67 kB / 3.126 GB, free: 432.7 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 2.278/9.036, allocations: 0.6598 GB / 3.786 GB, free: 195.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/9.036, allocations: 0 / 3.786 GB, free: 195.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.995e-05/9.036, allocations: 20 kB / 3.786 GB, free: 195.8 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.004127/9.04, allocations: 1.347 MB / 3.787 GB, free: 194.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/9.04, allocations: 8.031 kB / 3.787 GB, free: 194.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007943/9.041, allocations: 150.8 kB / 3.787 GB, free: 194.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/9.042, allocations: 0.557 MB / 3.788 GB, free: 193.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/9.042, allocations: 27.98 kB / 3.788 GB, free: 193.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/9.043, allocations: 44 kB / 3.788 GB, free: 193.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009048/9.043, allocations: 0.5606 MB / 3.788 GB, free: 193 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/9.044, allocations: 0.7074 MB / 3.789 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/9.044, allocations: 0 / 3.789 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/9.045, allocations: 0 / 3.789 GB, free: 192.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/9.045, allocations: 49.98 kB / 3.789 GB, free: 192.2 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.00418/9.049, allocations: 4.366 MB / 3.793 GB, free: 187.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/9.05, allocations: 428.5 kB / 3.794 GB, free: 186.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/9.05, allocations: 169.4 kB / 3.794 GB, free: 186.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/9.05, allocations: 0.7637 MB / 3.795 GB, free: 185.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/9.05, allocations: 38.83 kB / 3.795 GB, free: 185.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.424e-06/9.05, allocations: 0 / 3.795 GB, free: 185.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0007878/9.051, allocations: 391 kB / 3.795 GB, free: 185.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/9.051, allocations: 55.41 kB / 3.795 GB, free: 185.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/9.052, allocations: 494.1 kB / 3.795 GB, free: 184.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/9.052, allocations: 25.7 kB / 3.795 GB, free: 184.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/9.052, allocations: 411.2 kB / 3.796 GB, free: 184.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/9.052, allocations: 134 kB / 3.796 GB, free: 184.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/9.052, allocations: 0 / 3.796 GB, free: 184.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/9.052, allocations: 366.8 kB / 3.796 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/9.052, allocations: 161 kB / 3.797 GB, free: 183.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/9.053, allocations: 305.8 kB / 3.797 GB, free: 183.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/9.053, allocations: 203.6 kB / 3.797 GB, free: 183.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/9.053, allocations: 4 kB / 3.797 GB, free: 183.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007188/9.054, allocations: 0.5079 MB / 3.797 GB, free: 182.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/9.054, allocations: 17.91 kB / 3.798 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/9.054, allocations: 4 kB / 3.798 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/9.054, allocations: 11.95 kB / 3.798 GB, free: 182.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/9.054, allocations: 104.4 kB / 3.798 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/9.054, allocations: 15.92 kB / 3.798 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/9.055, allocations: 67.55 kB / 3.798 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/9.055, allocations: 24 kB / 3.798 GB, free: 182.4 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 0.0001071/9.055, allocations: 128.8 kB / 3.798 GB, free: 182.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/9.055, allocations: 59.25 kB / 3.798 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/9.056, allocations: 470.9 kB / 3.798 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/9.056, allocations: 7.953 kB / 3.798 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/9.056, allocations: 4 kB / 3.798 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/9.056, allocations: 3.984 kB / 3.798 GB, free: 181.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/9.058, allocations: 1.801 MB / 3.8 GB, free: 179.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/9.058, allocations: 8 kB / 3.8 GB, free: 179.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/9.059, allocations: 91.83 kB / 3.8 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/9.059, allocations: 16.64 kB / 3.8 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/9.059, allocations: 8 kB / 3.8 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/9.059, allocations: 15.94 kB / 3.8 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/9.059, allocations: 11.94 kB / 3.8 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/9.06, allocations: 1.188 MB / 3.801 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002552/9.06, allocations: 196.2 kB / 3.802 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/9.06, allocations: 11.98 kB / 3.802 GB, free: 178 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005283/9.06, allocations: 44.16 kB / 3.802 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/9.061, allocations: 55.78 kB / 3.802 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/9.061, allocations: 23.98 kB / 3.802 GB, free: 177.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003453/9.061, allocations: 382.9 kB / 3.802 GB, free: 177.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/9.061, allocations: 4 kB / 3.802 GB, free: 177.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00118/9.062, allocations: 403.2 kB / 3.803 GB, free: 177.1 MB / 1.151 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 () * 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.00283/9.065, allocations: 2.294 MB / 3.805 GB, free: 174.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005428/9.065, allocations: 390.7 kB / 3.805 GB, free: 174.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/9.066, allocations: 0 / 3.805 GB, free: 174.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/9.066, allocations: 201.5 kB / 3.805 GB, free: 174.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/9.067, allocations: 223 kB / 3.806 GB, free: 174.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/9.069, allocations: 1.098 MB / 3.807 GB, free: 172.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/9.069, allocations: 1.027 MB / 3.808 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000597/9.07, allocations: 140.7 kB / 3.808 GB, free: 171.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/9.07, allocations: 55.42 kB / 3.808 GB, free: 171.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/9.07, allocations: 0 / 3.808 GB, free: 171.7 MB / 1.151 GB Notification: Performance of Templates: time 0.02814/9.098, allocations: 20.73 MB / 3.828 GB, free: 151.1 MB / 1.151 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