Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.43/2.43, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001093/0.001093, allocations: 187.7 kB / 0.4901 GB, free: 2.266 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: 223.1 MB / 0.7992 GB, free: 15.7 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.001231/0.001231, allocations: 101.3 kB / 0.9396 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005201/0.0005204, allocations: 13.34 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.317, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/4.898, allocations: 1.924 GB / 3.153 GB, free: 8.273 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/4.899, allocations: 88.45 kB / 3.153 GB, free: 8.227 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 1.5/6.399, allocations: 462.7 MB / 3.605 GB, free: 15.76 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.825e-06/6.399, allocations: 0 / 3.605 GB, free: 15.76 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.367e-05/6.399, allocations: 23.94 kB / 3.605 GB, free: 15.74 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004645/6.404, allocations: 1.652 MB / 3.607 GB, free: 14.03 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/6.404, allocations: 8.031 kB / 3.607 GB, free: 14.02 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/6.404, allocations: 151.7 kB / 3.607 GB, free: 13.86 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/6.404, allocations: 158.5 kB / 3.607 GB, free: 13.71 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/6.406, allocations: 0.6445 MB / 3.608 GB, free: 13.02 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/6.406, allocations: 66 kB / 3.608 GB, free: 12.96 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/6.406, allocations: 87.98 kB / 3.608 GB, free: 12.87 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/6.408, allocations: 1.184 MB / 3.609 GB, free: 11.68 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/6.408, allocations: 0 / 3.609 GB, free: 11.68 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-05/6.408, allocations: 36 kB / 3.609 GB, free: 11.64 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/6.408, allocations: 45.98 kB / 3.609 GB, free: 11.59 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/6.41, allocations: 1.472 MB / 3.61 GB, free: 10.12 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.0046/6.414, allocations: 3.325 MB / 3.614 GB, free: 6.613 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/6.416, allocations: 1.498 MB / 3.615 GB, free: 5.105 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/6.417, allocations: 1.54 MB / 3.617 GB, free: 3.234 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008885/6.418, allocations: 0.7377 MB / 3.617 GB, free: 2.48 MB / 1.167 GB Notification: Performance of pre-optimization done (n=127): time 4.218e-06/6.418, allocations: 8 kB / 3.617 GB, free: 2.473 MB / 1.167 GB Notification: Performance of matching and sorting (n=127): time 0.00289/6.421, allocations: 2.074 MB / 3.619 GB, free: 376 kB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/6.421, allocations: 94.09 kB / 3.62 GB, free: 264 kB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6966/7.118, allocations: 0.6879 MB / 3.62 GB, free: 300.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004259/7.118, allocations: 45.67 kB / 3.62 GB, free: 300.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/7.118, allocations: 355.6 kB / 3.621 GB, free: 300.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/7.119, allocations: 429.7 kB / 3.621 GB, free: 300.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.856e-05/7.119, allocations: 23.72 kB / 3.621 GB, free: 300.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002106/7.119, allocations: 410.8 kB / 3.621 GB, free: 299.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/7.12, allocations: 0.5295 MB / 3.622 GB, free: 299.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/7.122, allocations: 0.6525 MB / 3.623 GB, free: 299.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/7.123, allocations: 0.6517 MB / 3.623 GB, free: 299.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/7.123, allocations: 0 / 3.623 GB, free: 299.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002923/7.126, allocations: 1.542 MB / 3.625 GB, free: 299.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/7.126, allocations: 42.89 kB / 3.625 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/7.126, allocations: 1.094 kB / 3.625 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/7.126, allocations: 5.344 kB / 3.625 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/7.127, allocations: 221.9 kB / 3.625 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/7.127, allocations: 6 kB / 3.625 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/7.128, allocations: 130.2 kB / 3.625 GB, free: 299.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/7.128, allocations: 50.91 kB / 3.625 GB, free: 299.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0006766/7.129, allocations: 370.1 kB / 3.625 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/7.129, allocations: 105.8 kB / 3.626 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/7.133, allocations: 1.702 MB / 3.627 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/7.133, allocations: 12.59 kB / 3.627 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/7.133, allocations: 3.438 kB / 3.627 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.248e-05/7.133, allocations: 7.078 kB / 3.627 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008349/7.141, allocations: 3.86 MB / 3.631 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/7.141, allocations: 7.891 kB / 3.631 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/7.142, allocations: 218.7 kB / 3.631 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.518e-05/7.142, allocations: 13.59 kB / 3.631 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/7.142, allocations: 46.33 kB / 3.631 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.697e-05/7.142, allocations: 16.64 kB / 3.631 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-05/7.142, allocations: 9.719 kB / 3.631 GB, free: 298.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/7.147, allocations: 3.038 MB / 3.634 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/7.148, allocations: 338.3 kB / 3.635 GB, free: 297.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/7.148, allocations: 40.5 kB / 3.635 GB, free: 297.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008036/7.149, allocations: 67 kB / 3.635 GB, free: 297.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/7.149, allocations: 97.8 kB / 3.635 GB, free: 297.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/7.149, allocations: 56.88 kB / 3.635 GB, free: 297.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009502/7.15, allocations: 0.5479 MB / 3.635 GB, free: 297.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.4e-07/7.15, allocations: 0 / 3.635 GB, free: 297.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002163/7.152, allocations: 0.5147 MB / 3.636 GB, free: 297.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.007566/7.16, allocations: 6.973 MB / 3.643 GB, free: 293.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002843/7.163, allocations: 1.357 MB / 3.644 GB, free: 293.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/7.163, allocations: 1.062 kB / 3.644 GB, free: 293.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/7.164, allocations: 0.758 MB / 3.645 GB, free: 293.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/7.167, allocations: 380.1 kB / 3.645 GB, free: 293.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/7.178, allocations: 7.834 MB / 3.653 GB, free: 290.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/7.179, allocations: 1.128 MB / 3.654 GB, free: 289.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001421/7.18, allocations: 430.1 kB / 3.654 GB, free: 289.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/7.181, allocations: 367.2 kB / 3.655 GB, free: 289.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.102e-06/7.181, allocations: 0 / 3.655 GB, free: 289.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08786/7.268, allocations: 48.76 MB / 3.702 GB, free: 289.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/7.269, allocations: 233.7 kB / 3.703 GB, free: 289.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/11.03, allocations: 2.391 kB / 3.703 GB, free: 289.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat does not exist to compare? outputFormat=mat