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.292/2.292, allocations: 390.5 MB / 398 MB, free: 10.96 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.001445/0.001445, allocations: 188.8 kB / 491.2 MB, free: 1.598 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.655/1.655, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009751/0.0009748, allocations: 99.38 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.816e-05, allocations: 6.875 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3458, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.366/6.711, allocations: 1.921 GB / 3.133 GB, free: 409.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/6.712, allocations: 87.95 kB / 3.133 GB, free: 409.3 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.286/8.997, allocations: 0.6598 GB / 3.793 GB, free: 170.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 9.42e-07/8.997, allocations: 0 / 3.793 GB, free: 170.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.315e-05/8.997, allocations: 20 kB / 3.793 GB, free: 170.4 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.005134/9.003, allocations: 1.353 MB / 3.794 GB, free: 168.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/9.003, allocations: 12.02 kB / 3.794 GB, free: 168.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/9.004, allocations: 150.8 kB / 3.794 GB, free: 168.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/9.005, allocations: 0.555 MB / 3.795 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/9.005, allocations: 28 kB / 3.795 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/9.005, allocations: 40 kB / 3.795 GB, free: 168.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001091/9.007, allocations: 0.5623 MB / 3.795 GB, free: 167.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/9.008, allocations: 0.7035 MB / 3.796 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/9.008, allocations: 0 / 3.796 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/9.008, allocations: 224 / 3.796 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.713e-05/9.008, allocations: 53.94 kB / 3.796 GB, free: 166.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.005258/9.013, allocations: 4.375 MB / 3.8 GB, free: 161.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/9.014, allocations: 421 kB / 3.801 GB, free: 161.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/9.014, allocations: 157.5 kB / 3.801 GB, free: 161.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/9.015, allocations: 0.7756 MB / 3.802 GB, free: 160.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/9.015, allocations: 38.83 kB / 3.802 GB, free: 160.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/9.015, allocations: 0 / 3.802 GB, free: 160.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.0009716/9.016, allocations: 395.7 kB / 3.802 GB, free: 159.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/9.016, allocations: 55.41 kB / 3.802 GB, free: 159.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/9.016, allocations: 494.1 kB / 3.803 GB, free: 159.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/9.017, allocations: 29.7 kB / 3.803 GB, free: 159.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/9.017, allocations: 407.2 kB / 3.803 GB, free: 158.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.954e-05/9.017, allocations: 134 kB / 3.803 GB, free: 158.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/9.017, allocations: 0 / 3.803 GB, free: 158.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001166/9.017, allocations: 370.8 kB / 3.804 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/9.017, allocations: 153.1 kB / 3.804 GB, free: 158.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/9.018, allocations: 308.7 kB / 3.804 GB, free: 157.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/9.018, allocations: 203.6 kB / 3.804 GB, free: 157.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/9.018, allocations: 7.938 kB / 3.804 GB, free: 157.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007781/9.019, allocations: 0.5117 MB / 3.805 GB, free: 157.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/9.019, allocations: 8 kB / 3.805 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/9.019, allocations: 7.984 kB / 3.805 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/9.019, allocations: 8.469 kB / 3.805 GB, free: 157.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/9.019, allocations: 111.8 kB / 3.805 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/9.019, allocations: 11.94 kB / 3.805 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/9.02, allocations: 67.55 kB / 3.805 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/9.02, allocations: 27.98 kB / 3.805 GB, free: 156.9 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.0001242/9.02, allocations: 116.9 kB / 3.805 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/9.02, allocations: 59.2 kB / 3.805 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007329/9.021, allocations: 478.9 kB / 3.805 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/9.021, allocations: 4 kB / 3.806 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/9.021, allocations: 0 / 3.806 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/9.021, allocations: 3.984 kB / 3.806 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/9.024, allocations: 1.807 MB / 3.807 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/9.024, allocations: 11.98 kB / 3.807 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/9.024, allocations: 92.61 kB / 3.807 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/9.024, allocations: 12 kB / 3.807 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/9.024, allocations: 12 kB / 3.807 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/9.024, allocations: 11.94 kB / 3.807 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/9.024, allocations: 8 kB / 3.807 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/9.026, allocations: 1.189 MB / 3.809 GB, free: 152.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/9.026, allocations: 196.2 kB / 3.809 GB, free: 152.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/9.026, allocations: 16.05 kB / 3.809 GB, free: 152.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/9.027, allocations: 43.95 kB / 3.809 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/9.027, allocations: 51.8 kB / 3.809 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/9.027, allocations: 16.12 kB / 3.809 GB, free: 152.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004449/9.027, allocations: 390.9 kB / 3.809 GB, free: 152 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/9.027, allocations: 7.875 kB / 3.809 GB, free: 152 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001654/9.029, allocations: 399.2 kB / 3.81 GB, free: 151.6 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.003681/9.033, allocations: 2.296 MB / 3.812 GB, free: 149.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000755/9.033, allocations: 387 kB / 3.812 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/9.033, allocations: 0 / 3.812 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/9.034, allocations: 205.4 kB / 3.812 GB, free: 148.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/9.035, allocations: 225.3 kB / 3.813 GB, free: 148.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/9.038, allocations: 1.101 MB / 3.814 GB, free: 147.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/9.038, allocations: 1.027 MB / 3.815 GB, free: 146.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007527/9.039, allocations: 148.7 kB / 3.815 GB, free: 146 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/9.039, allocations: 55.42 kB / 3.815 GB, free: 145.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/9.039, allocations: 0 / 3.815 GB, free: 145.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03414/9.073, allocations: 20.74 MB / 3.835 GB, free: 125.3 MB / 1.151 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