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.25/2.25, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001071/0.001072, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.001014/0.001015, allocations: 87.97 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.878e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3773, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.406/6.784, allocations: 1.921 GB / 3.14 GB, free: 337.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/6.784, allocations: 87.2 kB / 3.14 GB, free: 337.7 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.164/8.948, allocations: 0.6682 GB / 3.808 GB, free: 117.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/8.948, allocations: 0 / 3.808 GB, free: 117.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.878e-05/8.948, allocations: 16.22 kB / 3.808 GB, free: 117.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.003651/8.951, allocations: 1.353 MB / 3.81 GB, free: 116 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/8.951, allocations: 12.03 kB / 3.81 GB, free: 116 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006784/8.952, allocations: 146.8 kB / 3.81 GB, free: 115.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009358/8.953, allocations: 0.5589 MB / 3.81 GB, free: 115.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/8.953, allocations: 50 kB / 3.81 GB, free: 115.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.736e-05/8.953, allocations: 72 kB / 3.81 GB, free: 115.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/8.954, allocations: 0.8128 MB / 3.811 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/8.954, allocations: 0 / 3.811 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/8.954, allocations: 39.88 kB / 3.811 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/8.954, allocations: 41.98 kB / 3.811 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/8.955, allocations: 0.6794 MB / 3.812 GB, free: 113.5 MB / 1.167 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.004286/8.96, allocations: 4.593 MB / 3.816 GB, free: 108.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/8.961, allocations: 465.3 kB / 3.817 GB, free: 107.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/8.961, allocations: 173.5 kB / 3.817 GB, free: 107.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/8.961, allocations: 0.76 MB / 3.818 GB, free: 106.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/8.961, allocations: 38.89 kB / 3.818 GB, free: 106.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 2.655e-06/8.961, allocations: 0 / 3.818 GB, free: 106.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.0008497/8.962, allocations: 438.4 kB / 3.818 GB, free: 106.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/8.962, allocations: 59.34 kB / 3.818 GB, free: 106.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/8.963, allocations: 0.7659 MB / 3.819 GB, free: 105.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/8.963, allocations: 37.7 kB / 3.819 GB, free: 105.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/8.963, allocations: 388.4 kB / 3.819 GB, free: 105 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/8.963, allocations: 141.9 kB / 3.82 GB, free: 104.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/8.963, allocations: 12 kB / 3.82 GB, free: 104.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/8.963, allocations: 330 kB / 3.82 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/8.964, allocations: 165.1 kB / 3.82 GB, free: 104.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/8.964, allocations: 271.3 kB / 3.82 GB, free: 104.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/8.964, allocations: 217.4 kB / 3.821 GB, free: 103.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/8.964, allocations: 0 / 3.821 GB, free: 103.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007574/8.965, allocations: 0.5599 MB / 3.821 GB, free: 103.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/8.965, allocations: 8 kB / 3.821 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/8.965, allocations: 4 kB / 3.821 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/8.965, allocations: 4 kB / 3.821 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/8.966, allocations: 103.8 kB / 3.821 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/8.966, allocations: 7.938 kB / 3.821 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008021/8.966, allocations: 111.1 kB / 3.821 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/8.967, allocations: 20 kB / 3.821 GB, free: 103.1 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 () * 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.0001149/8.967, allocations: 136.8 kB / 3.821 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/8.967, allocations: 83.06 kB / 3.822 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/8.968, allocations: 0.5204 MB / 3.822 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/8.968, allocations: 4 kB / 3.822 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/8.968, allocations: 128 / 3.822 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/8.968, allocations: 3.984 kB / 3.822 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/8.97, allocations: 2.053 MB / 3.824 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/8.97, allocations: 12.14 kB / 3.824 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/8.971, allocations: 91.84 kB / 3.824 GB, free: 99.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/8.971, allocations: 8 kB / 3.824 GB, free: 99.97 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/8.971, allocations: 16 kB / 3.824 GB, free: 99.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/8.971, allocations: 15.92 kB / 3.824 GB, free: 99.94 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/8.971, allocations: 11.94 kB / 3.824 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/8.972, allocations: 1.25 MB / 3.825 GB, free: 98.41 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/8.972, allocations: 227.9 kB / 3.826 GB, free: 98.17 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/8.972, allocations: 19.95 kB / 3.826 GB, free: 98.15 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005727/8.973, allocations: 51.92 kB / 3.826 GB, free: 98.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/8.973, allocations: 55.78 kB / 3.826 GB, free: 98.05 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/8.973, allocations: 20 kB / 3.826 GB, free: 98.03 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006741/8.974, allocations: 0.6163 MB / 3.826 GB, free: 97.41 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/8.974, allocations: 0 / 3.826 GB, free: 97.41 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001598/8.975, allocations: 443.7 kB / 3.827 GB, free: 96.98 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 () * 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.002711/8.978, allocations: 2.053 MB / 3.829 GB, free: 94.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007237/8.979, allocations: 418.7 kB / 3.829 GB, free: 94.39 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/8.979, allocations: 0 / 3.829 GB, free: 94.39 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/8.979, allocations: 222.8 kB / 3.829 GB, free: 94.18 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/8.981, allocations: 488.4 kB / 3.83 GB, free: 93.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/8.983, allocations: 1.175 MB / 3.831 GB, free: 92.42 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/8.984, allocations: 1.021 MB / 3.832 GB, free: 91.38 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00076/8.984, allocations: 191 kB / 3.832 GB, free: 91.18 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/8.985, allocations: 63.42 kB / 3.832 GB, free: 91.12 MB / 1.167 GB Notification: Performance of SimCode: time 7.11e-07/8.985, allocations: 4 kB / 3.832 GB, free: 91.12 MB / 1.167 GB Notification: Performance of Templates: time 0.05563/9.04, allocations: 44.79 MB / 3.876 GB, free: 46.45 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