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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",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.368/2.368, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001264/0.001264, allocations: 183.9 kB / 0.4901 GB, free: 2.227 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.484/1.484, allocations: 223.1 MB / 0.7992 GB, free: 14.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.001048/0.001047, allocations: 100 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 18.06 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2876, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.483/4.771, allocations: 1.921 GB / 3.151 GB, free: 31.09 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/4.771, allocations: 95 kB / 3.151 GB, free: 31.04 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.793/7.564, allocations: 0.6688 GB / 3.819 GB, free: 268.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.144e-06/7.564, allocations: 0 / 3.819 GB, free: 268.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.129e-05/7.564, allocations: 23.91 kB / 3.819 GB, free: 268.7 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.005186/7.57, allocations: 1.482 MB / 3.821 GB, free: 267.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/7.57, allocations: 8.031 kB / 3.821 GB, free: 267.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003584/7.57, allocations: 130.4 kB / 3.821 GB, free: 267.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/7.571, allocations: 146.7 kB / 3.821 GB, free: 267 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/7.572, allocations: 0.5644 MB / 3.822 GB, free: 266.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/7.572, allocations: 60 kB / 3.822 GB, free: 266.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/7.573, allocations: 64 kB / 3.822 GB, free: 266.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/7.574, allocations: 0.8313 MB / 3.823 GB, free: 265.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-05/7.574, allocations: 4 kB / 3.823 GB, free: 265.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/7.574, allocations: 34.81 kB / 3.823 GB, free: 265.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/7.574, allocations: 45.98 kB / 3.823 GB, free: 265.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/7.575, allocations: 0.7293 MB / 3.823 GB, free: 264.6 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.005/7.58, allocations: 4.585 MB / 3.828 GB, free: 259.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/7.581, allocations: 468.7 kB / 3.828 GB, free: 259.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/7.582, allocations: 0.7628 MB / 3.829 GB, free: 258.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/7.582, allocations: 42.3 kB / 3.829 GB, free: 258.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=40): time 3.046e-06/7.582, allocations: 0 / 3.829 GB, free: 258.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=40): time 0.001265/7.583, allocations: 0.6117 MB / 3.83 GB, free: 257.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/7.583, allocations: 59.36 kB / 3.83 GB, free: 257.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/7.584, allocations: 0.7736 MB / 3.831 GB, free: 256.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/7.584, allocations: 29.7 kB / 3.831 GB, free: 256.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/7.585, allocations: 392.3 kB / 3.831 GB, free: 256.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/7.585, allocations: 144.4 kB / 3.831 GB, free: 256.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/7.585, allocations: 8 kB / 3.831 GB, free: 256.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.38e-05/7.585, allocations: 326 kB / 3.831 GB, free: 255.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/7.585, allocations: 185 kB / 3.832 GB, free: 255.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/7.586, allocations: 286.8 kB / 3.832 GB, free: 255.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/7.586, allocations: 229.6 kB / 3.832 GB, free: 255 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/7.586, allocations: 2.734 kB / 3.832 GB, free: 255 MB / 1.167 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009462/7.587, allocations: 0.5867 MB / 3.833 GB, free: 254.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/7.587, allocations: 5.719 kB / 3.833 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/7.587, allocations: 4 kB / 3.833 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/7.587, allocations: 7.375 kB / 3.833 GB, free: 254.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/7.587, allocations: 103.8 kB / 3.833 GB, free: 254.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/7.587, allocations: 7.984 kB / 3.833 GB, free: 254.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008695/7.588, allocations: 110.3 kB / 3.833 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/7.588, allocations: 23.94 kB / 3.833 GB, free: 254.2 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 () * Number of clocked 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.00035/7.589, allocations: 256.9 kB / 3.833 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/7.589, allocations: 75.06 kB / 3.833 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009009/7.59, allocations: 0.5508 MB / 3.834 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/7.59, allocations: 7.984 kB / 3.834 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/7.59, allocations: 0 / 3.834 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/7.59, allocations: 0 / 3.834 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/7.593, allocations: 2.076 MB / 3.836 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/7.593, allocations: 8 kB / 3.836 GB, free: 251.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/7.593, allocations: 91.83 kB / 3.836 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/7.593, allocations: 12 kB / 3.836 GB, free: 251 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/7.594, allocations: 16 kB / 3.836 GB, free: 250.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/7.594, allocations: 19.88 kB / 3.836 GB, free: 250.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/7.594, allocations: 15.69 kB / 3.836 GB, free: 250.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/7.595, allocations: 1.284 MB / 3.837 GB, free: 249.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/7.595, allocations: 227.9 kB / 3.837 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/7.596, allocations: 15.08 kB / 3.837 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007429/7.596, allocations: 55.7 kB / 3.837 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/7.596, allocations: 51.12 kB / 3.837 GB, free: 249 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/7.597, allocations: 24 kB / 3.838 GB, free: 249 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007591/7.597, allocations: 0.6268 MB / 3.838 GB, free: 248.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/7.597, allocations: 0 / 3.838 GB, free: 248.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001842/7.599, allocations: 451.6 kB / 3.839 GB, free: 247.9 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 () * Number of clocked 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.005162/7.604, allocations: 5.579 MB / 3.844 GB, free: 242.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008373/7.605, allocations: 462 kB / 3.844 GB, free: 242 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/7.605, allocations: 0 / 3.844 GB, free: 242 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/7.606, allocations: 236.8 kB / 3.845 GB, free: 241.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/7.608, allocations: 485.8 kB / 3.845 GB, free: 241.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0075/7.615, allocations: 6.052 MB / 3.851 GB, free: 235.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/7.616, allocations: 1.021 MB / 3.852 GB, free: 234.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008627/7.617, allocations: 178.7 kB / 3.852 GB, free: 233.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/7.617, allocations: 299.3 kB / 3.852 GB, free: 233.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.572e-06/7.617, allocations: 7.938 kB / 3.853 GB, free: 233.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07801/7.695, allocations: 53.65 MB / 3.905 GB, free: 180.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/7.695, allocations: 235.5 kB / 3.905 GB, free: 180.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.049/11.74, allocations: 0 / 3.905 GB, free: 180.2 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat does not exist to compare? outputFormat=mat