Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.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_latest_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_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001298/0.001297, allocations: 184 kB / 0.4902 GB, free: 2.207 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.591/1.591, allocations: 223.2 MB / 0.7992 GB, free: 15.66 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.001007/0.001006, allocations: 98.09 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003951, allocations: 8.891 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3285, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.634/4.962, allocations: 1.921 GB / 3.15 GB, free: 39.96 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/4.962, allocations: 87.95 kB / 3.151 GB, free: 39.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.853/7.815, allocations: 0.6688 GB / 3.819 GB, free: 272.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.663e-06/7.815, allocations: 0 / 3.819 GB, free: 272.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.935e-05/7.815, allocations: 24 kB / 3.819 GB, free: 272.4 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.004143/7.82, allocations: 1.487 MB / 3.821 GB, free: 271 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/7.82, allocations: 15.98 kB / 3.821 GB, free: 271 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/7.82, allocations: 142.7 kB / 3.821 GB, free: 270.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009923/7.821, allocations: 0.572 MB / 3.821 GB, free: 270.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/7.821, allocations: 55.02 kB / 3.822 GB, free: 270.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/7.822, allocations: 72.89 kB / 3.822 GB, free: 270.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/7.823, allocations: 0.8267 MB / 3.822 GB, free: 269.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/7.823, allocations: 14.34 kB / 3.822 GB, free: 269.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/7.823, allocations: 24 kB / 3.822 GB, free: 269.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/7.823, allocations: 48.61 kB / 3.822 GB, free: 269.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/7.824, allocations: 0.7259 MB / 3.823 GB, free: 268.5 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.0044/7.828, allocations: 4.589 MB / 3.828 GB, free: 263.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/7.829, allocations: 472.5 kB / 3.828 GB, free: 262.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/7.83, allocations: 0.7581 MB / 3.829 GB, free: 262 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/7.83, allocations: 42.88 kB / 3.829 GB, free: 262 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/7.83, allocations: 0 / 3.829 GB, free: 262 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.001123/7.831, allocations: 0.6044 MB / 3.83 GB, free: 261.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/7.831, allocations: 62.8 kB / 3.83 GB, free: 261.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008081/7.832, allocations: 0.7775 MB / 3.83 GB, free: 260.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/7.832, allocations: 29.7 kB / 3.83 GB, free: 260.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/7.832, allocations: 396.3 kB / 3.831 GB, free: 260.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/7.832, allocations: 138.4 kB / 3.831 GB, free: 259.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/7.832, allocations: 12 kB / 3.831 GB, free: 259.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/7.832, allocations: 322 kB / 3.831 GB, free: 259.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/7.833, allocations: 191.8 kB / 3.831 GB, free: 259.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/7.833, allocations: 286.5 kB / 3.832 GB, free: 259.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/7.833, allocations: 225.1 kB / 3.832 GB, free: 258.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/7.833, allocations: 0 / 3.832 GB, free: 258.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008227/7.834, allocations: 0.5943 MB / 3.832 GB, free: 258.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/7.834, allocations: 4 kB / 3.832 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/7.834, allocations: 7.938 kB / 3.832 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/7.834, allocations: 4 kB / 3.832 GB, free: 258.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/7.835, allocations: 103.4 kB / 3.833 GB, free: 258.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/7.835, allocations: 4 kB / 3.833 GB, free: 258.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/7.835, allocations: 110 kB / 3.833 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/7.835, allocations: 23.98 kB / 3.833 GB, free: 258 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.0002984/7.836, allocations: 245.6 kB / 3.833 GB, free: 257.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/7.836, allocations: 77.47 kB / 3.833 GB, free: 257.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/7.837, allocations: 0.5661 MB / 3.834 GB, free: 257.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/7.837, allocations: 6.953 kB / 3.834 GB, free: 257.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/7.837, allocations: 0 / 3.834 GB, free: 257.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/7.837, allocations: 3.984 kB / 3.834 GB, free: 257.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/7.839, allocations: 2.078 MB / 3.836 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/7.84, allocations: 10.88 kB / 3.836 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/7.84, allocations: 87.84 kB / 3.836 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/7.84, allocations: 15.98 kB / 3.836 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/7.84, allocations: 12 kB / 3.836 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/7.84, allocations: 12.08 kB / 3.836 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/7.84, allocations: 15.94 kB / 3.836 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/7.841, allocations: 1.29 MB / 3.837 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/7.842, allocations: 234.5 kB / 3.837 GB, free: 253 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/7.842, allocations: 16 kB / 3.837 GB, free: 253 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/7.842, allocations: 47.58 kB / 3.837 GB, free: 252.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/7.842, allocations: 54.78 kB / 3.837 GB, free: 252.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/7.842, allocations: 20 kB / 3.837 GB, free: 252.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006432/7.843, allocations: 0.6239 MB / 3.838 GB, free: 252.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/7.843, allocations: 0 / 3.838 GB, free: 252.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001535/7.845, allocations: 450.5 kB / 3.838 GB, free: 251.8 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.002718/7.847, allocations: 2.053 MB / 3.84 GB, free: 250.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008124/7.848, allocations: 445.8 kB / 3.841 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.848, allocations: 3.938 kB / 3.841 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000318/7.848, allocations: 234.5 kB / 3.841 GB, free: 249.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/7.85, allocations: 480.4 kB / 3.841 GB, free: 249.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/7.853, allocations: 1.799 MB / 3.843 GB, free: 247.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/7.853, allocations: 1.03 MB / 3.844 GB, free: 246.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007565/7.854, allocations: 189.6 kB / 3.844 GB, free: 246 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/7.854, allocations: 63.42 kB / 3.845 GB, free: 246 MB / 1.167 GB Notification: Performance of SimCode: time 1.593e-06/7.854, allocations: 0 / 3.845 GB, free: 246 MB / 1.167 GB Notification: Performance of Templates: time 0.04981/7.904, allocations: 39.54 MB / 3.883 GB, free: 206.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches