Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001238/0.001238, allocations: 174.9 kB / 498.1 MB, free: 5.742 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.589/1.589, allocations: 223.1 MB / 0.7948 GB, free: 18.89 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.0009267/0.0009265, allocations: 97.7 kB / 0.9346 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 9.875 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3204, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.605/4.925, allocations: 1.923 GB / 3.146 GB, free: 56 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/4.926, allocations: 89.02 kB / 3.146 GB, free: 55.91 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.517/6.443, allocations: 462.7 MB / 3.598 GB, free: 61.66 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.774e-06/6.443, allocations: 0 / 3.598 GB, free: 61.66 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.089e-05/6.443, allocations: 24 kB / 3.598 GB, free: 61.64 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.005648/6.449, allocations: 1.654 MB / 3.6 GB, free: 59.93 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/6.449, allocations: 12.03 kB / 3.6 GB, free: 59.91 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004724/6.449, allocations: 147.6 kB / 3.6 GB, free: 59.76 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009387/6.45, allocations: 154.6 kB / 3.6 GB, free: 59.61 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/6.452, allocations: 0.6523 MB / 3.601 GB, free: 58.91 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/6.452, allocations: 62 kB / 3.601 GB, free: 58.86 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/6.452, allocations: 88 kB / 3.601 GB, free: 58.77 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/6.454, allocations: 1.188 MB / 3.602 GB, free: 57.57 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/6.454, allocations: 0 / 3.602 GB, free: 57.57 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/6.454, allocations: 32 kB / 3.602 GB, free: 57.54 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.149e-05/6.454, allocations: 49.98 kB / 3.602 GB, free: 57.49 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/6.457, allocations: 1.468 MB / 3.603 GB, free: 56.02 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.005176/6.462, allocations: 3.325 MB / 3.607 GB, free: 52.52 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/6.464, allocations: 1.506 MB / 3.608 GB, free: 51 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/6.465, allocations: 1.54 MB / 3.61 GB, free: 49.13 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009721/6.466, allocations: 0.7416 MB / 3.61 GB, free: 48.37 MB / 1.167 GB Notification: Performance of pre-optimization done (n=127): time 4.017e-06/6.466, allocations: 0 / 3.61 GB, free: 48.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=127): time 0.003164/6.469, allocations: 2.078 MB / 3.612 GB, free: 46.26 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/6.469, allocations: 94.09 kB / 3.612 GB, free: 46.14 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/6.47, allocations: 0.695 MB / 3.613 GB, free: 45.44 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.454e-05/6.47, allocations: 53.7 kB / 3.613 GB, free: 45.38 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/6.471, allocations: 349.3 kB / 3.613 GB, free: 45.04 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/6.471, allocations: 429.8 kB / 3.614 GB, free: 44.61 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/6.471, allocations: 20 kB / 3.614 GB, free: 44.59 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001561/6.471, allocations: 414.7 kB / 3.614 GB, free: 44.18 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/6.472, allocations: 0.5334 MB / 3.615 GB, free: 43.64 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/6.473, allocations: 0.6485 MB / 3.615 GB, free: 42.97 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008667/6.474, allocations: 0.6482 MB / 3.616 GB, free: 42.32 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/6.474, allocations: 4 kB / 3.616 GB, free: 42.32 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002199/6.476, allocations: 1.54 MB / 3.618 GB, free: 40.76 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/6.476, allocations: 37.81 kB / 3.618 GB, free: 40.72 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/6.476, allocations: 4 kB / 3.618 GB, free: 40.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/6.476, allocations: 11.94 kB / 3.618 GB, free: 40.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/6.477, allocations: 219.7 kB / 3.618 GB, free: 40.49 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/6.477, allocations: 4 kB / 3.618 GB, free: 40.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/6.478, allocations: 130.8 kB / 3.618 GB, free: 40.36 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/6.478, allocations: 51.98 kB / 3.618 GB, free: 40.3 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.0005482/6.479, allocations: 371.2 kB / 3.618 GB, free: 39.93 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/6.479, allocations: 102.7 kB / 3.618 GB, free: 39.82 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/6.481, allocations: 1.709 MB / 3.62 GB, free: 38.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/6.481, allocations: 12 kB / 3.62 GB, free: 38.09 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/6.481, allocations: 3.984 kB / 3.62 GB, free: 38.09 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/6.482, allocations: 3.984 kB / 3.62 GB, free: 38.08 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/6.487, allocations: 3.867 MB / 3.624 GB, free: 34.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/6.487, allocations: 12.19 kB / 3.624 GB, free: 34.01 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008763/6.488, allocations: 215.7 kB / 3.624 GB, free: 33.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.377e-05/6.488, allocations: 12 kB / 3.624 GB, free: 33.79 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/6.488, allocations: 36 kB / 3.624 GB, free: 33.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/6.488, allocations: 19.92 kB / 3.624 GB, free: 33.73 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/6.488, allocations: 11.95 kB / 3.624 GB, free: 33.72 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/6.492, allocations: 3.033 MB / 3.627 GB, free: 30.39 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/6.492, allocations: 339.4 kB / 3.628 GB, free: 30.04 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/6.493, allocations: 36 kB / 3.628 GB, free: 30.01 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/6.494, allocations: 64.08 kB / 3.628 GB, free: 29.95 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/6.494, allocations: 108.7 kB / 3.628 GB, free: 29.84 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-05/6.494, allocations: 48 kB / 3.628 GB, free: 29.79 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007673/6.495, allocations: 0.5536 MB / 3.628 GB, free: 29.25 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/6.495, allocations: 8 kB / 3.628 GB, free: 29.24 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001888/6.497, allocations: 0.5075 MB / 3.629 GB, free: 28.73 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.006142/6.503, allocations: 6.976 MB / 3.636 GB, free: 21.47 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001865/6.505, allocations: 1.358 MB / 3.637 GB, free: 20.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.383e-05/6.505, allocations: 0 / 3.637 GB, free: 20.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/6.506, allocations: 0.7554 MB / 3.638 GB, free: 19.33 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/6.508, allocations: 390.6 kB / 3.638 GB, free: 18.96 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/6.518, allocations: 7.829 MB / 3.646 GB, free: 10.84 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/6.519, allocations: 1.137 MB / 3.647 GB, free: 9.68 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001567/6.521, allocations: 427.7 kB / 3.647 GB, free: 9.258 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/6.521, allocations: 363.3 kB / 3.648 GB, free: 8.902 MB / 1.167 GB Notification: Performance of SimCode: time 2.574e-06/6.521, allocations: 0 / 3.648 GB, free: 8.902 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6092/7.13, allocations: 48.75 MB / 3.695 GB, free: 294.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/7.131, allocations: 216.3 kB / 3.695 GB, free: 293.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/10.59, allocations: 0 / 3.695 GB, free: 293.9 MB / 1.167 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat does not exist to compare? outputFormat=mat