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.233/2.233, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001852/0.001852, allocations: 180.9 kB / 492.3 MB, free: 0.5781 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.701/1.701, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009592/0.0009592, allocations: 98.22 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.737e-05, allocations: 2.625 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3655, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.296/6.661, allocations: 1.92 GB / 3.133 GB, free: 410.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/6.662, allocations: 87.95 kB / 3.133 GB, free: 410 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.269/8.931, allocations: 0.6682 GB / 3.801 GB, free: 162.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.242e-06/8.931, allocations: 0 / 3.801 GB, free: 162.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.103e-05/8.931, allocations: 19.98 kB / 3.801 GB, free: 162.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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003597/8.935, allocations: 1.356 MB / 3.802 GB, free: 161.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/8.935, allocations: 8.031 kB / 3.802 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/8.935, allocations: 142.8 kB / 3.803 GB, free: 161.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/8.936, allocations: 0.5682 MB / 3.803 GB, free: 160.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/8.936, allocations: 50 kB / 3.803 GB, free: 160.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-05/8.936, allocations: 75.98 kB / 3.803 GB, free: 160.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/8.937, allocations: 0.803 MB / 3.804 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/8.938, allocations: 7.938 kB / 3.804 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/8.938, allocations: 28 kB / 3.804 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/8.938, allocations: 41.98 kB / 3.804 GB, free: 159.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009151/8.939, allocations: 0.6833 MB / 3.805 GB, free: 158.8 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.004087/8.943, allocations: 4.6 MB / 3.809 GB, free: 153.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/8.944, allocations: 452.8 kB / 3.81 GB, free: 153.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/8.944, allocations: 177.5 kB / 3.81 GB, free: 153 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/8.944, allocations: 0.7678 MB / 3.811 GB, free: 152.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/8.944, allocations: 34.89 kB / 3.811 GB, free: 152 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 3.226e-06/8.944, allocations: 0 / 3.811 GB, free: 152 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0008535/8.945, allocations: 438.4 kB / 3.811 GB, free: 151.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/8.945, allocations: 63.34 kB / 3.811 GB, free: 151.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/8.946, allocations: 0.7659 MB / 3.812 GB, free: 150.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/8.946, allocations: 37.7 kB / 3.812 GB, free: 150.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/8.946, allocations: 384.4 kB / 3.812 GB, free: 150.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/8.946, allocations: 149.9 kB / 3.812 GB, free: 150.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/8.946, allocations: 8 kB / 3.812 GB, free: 150.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/8.946, allocations: 326 kB / 3.813 GB, free: 149.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/8.947, allocations: 165.1 kB / 3.813 GB, free: 149.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/8.947, allocations: 275.4 kB / 3.813 GB, free: 149.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/8.947, allocations: 221.3 kB / 3.813 GB, free: 149.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/8.947, allocations: 0 / 3.813 GB, free: 149.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007464/8.948, allocations: 0.5597 MB / 3.814 GB, free: 148.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/8.948, allocations: 11.95 kB / 3.814 GB, free: 148.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/8.948, allocations: 224 / 3.814 GB, free: 148.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/8.948, allocations: 12 kB / 3.814 GB, free: 148.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/8.949, allocations: 99.89 kB / 3.814 GB, free: 148.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/8.949, allocations: 4 kB / 3.814 GB, free: 148.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/8.949, allocations: 107 kB / 3.814 GB, free: 148.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/8.949, allocations: 23.98 kB / 3.814 GB, free: 148.3 MB / 1.151 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 () * 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.0001011/8.95, allocations: 133.9 kB / 3.814 GB, free: 148.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/8.95, allocations: 82.97 kB / 3.814 GB, free: 148.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007734/8.95, allocations: 0.5281 MB / 3.815 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/8.95, allocations: 4 kB / 3.815 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/8.95, allocations: 0 / 3.815 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/8.95, allocations: 7.984 kB / 3.815 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/8.953, allocations: 2.037 MB / 3.817 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/8.953, allocations: 8.812 kB / 3.817 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/8.953, allocations: 95.83 kB / 3.817 GB, free: 145.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/8.953, allocations: 12 kB / 3.817 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/8.954, allocations: 12 kB / 3.817 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-06/8.954, allocations: 11.98 kB / 3.817 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/8.954, allocations: 11.94 kB / 3.817 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/8.955, allocations: 1.248 MB / 3.818 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/8.955, allocations: 231.8 kB / 3.818 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/8.955, allocations: 16 kB / 3.818 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/8.956, allocations: 52.14 kB / 3.819 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/8.956, allocations: 51.8 kB / 3.819 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/8.956, allocations: 24 kB / 3.819 GB, free: 143.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006403/8.956, allocations: 0.6202 MB / 3.819 GB, free: 142.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/8.956, allocations: 0 / 3.819 GB, free: 142.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001613/8.958, allocations: 443.7 kB / 3.82 GB, free: 142.3 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.002794/8.961, allocations: 2.055 MB / 3.822 GB, free: 140.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007531/8.962, allocations: 419 kB / 3.822 GB, free: 139.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/8.962, allocations: 4.062 kB / 3.822 GB, free: 139.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/8.962, allocations: 220.5 kB / 3.822 GB, free: 139.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/8.964, allocations: 475.4 kB / 3.823 GB, free: 139 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/8.966, allocations: 1.175 MB / 3.824 GB, free: 137.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/8.967, allocations: 1.029 MB / 3.825 GB, free: 136.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00081/8.968, allocations: 179 kB / 3.825 GB, free: 136.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/8.968, allocations: 67.42 kB / 3.825 GB, free: 136.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.864e-06/8.968, allocations: 4 kB / 3.825 GB, free: 136.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05472/9.022, allocations: 44.79 MB / 3.869 GB, free: 91.75 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