Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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.467/2.467, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001091/0.001091, allocations: 179.5 kB / 0.4901 GB, free: 2.25 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.783/1.783, 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.001063/0.001063, allocations: 104.3 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004643, allocations: 12.86 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2939, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.111/4.405, allocations: 1.936 GB / 3.166 GB, free: 31.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/4.405, allocations: 97.2 kB / 3.166 GB, free: 31.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 5.763/10.17, allocations: 1.675 GB / 4.84 GB, free: 145.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.373e-06/10.17, allocations: 1.531 kB / 4.84 GB, free: 145.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002747/10.17, allocations: 71.92 kB / 4.84 GB, free: 145 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01287/10.18, allocations: 3.58 MB / 4.844 GB, free: 141.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/10.18, allocations: 10.83 kB / 4.844 GB, free: 141.4 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009163/10.18, allocations: 354 kB / 4.844 GB, free: 141.1 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005828/10.19, allocations: 0.8003 MB / 4.845 GB, free: 140.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/10.19, allocations: 1.692 MB / 4.847 GB, free: 138.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/10.19, allocations: 191.5 kB / 4.847 GB, free: 138.3 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007667/10.19, allocations: 247.9 kB / 4.847 GB, free: 138.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006927/10.2, allocations: 3.029 MB / 4.85 GB, free: 134.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.52e-05/10.2, allocations: 11.94 kB / 4.85 GB, free: 134.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005028/10.2, allocations: 99 kB / 4.85 GB, free: 134.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/10.2, allocations: 116.7 kB / 4.85 GB, free: 134.7 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005034/10.21, allocations: 2.732 MB / 4.853 GB, free: 132 MB / 1.198 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.01347/10.22, allocations: 12.38 MB / 4.865 GB, free: 118.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/10.22, allocations: 2.127 MB / 4.867 GB, free: 116.4 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008937/10.22, allocations: 1.38 MB / 4.869 GB, free: 114.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/10.22, allocations: 56.56 kB / 4.869 GB, free: 114.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=197): time 3.858e-06/10.22, allocations: 0 / 4.869 GB, free: 114.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=197): time 0.004296/10.23, allocations: 2.809 MB / 4.871 GB, free: 111.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/10.23, allocations: 73.41 kB / 4.871 GB, free: 111.8 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/10.23, allocations: 1.147 MB / 4.873 GB, free: 110.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/10.23, allocations: 65.64 kB / 4.873 GB, free: 110.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/10.23, allocations: 0.9556 MB / 4.874 GB, free: 109.6 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/10.23, allocations: 0.6775 MB / 4.874 GB, free: 108.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/10.23, allocations: 32 kB / 4.874 GB, free: 108.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/10.23, allocations: 377.2 kB / 4.875 GB, free: 108.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/10.23, allocations: 0.773 MB / 4.875 GB, free: 107.8 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/10.23, allocations: 0.9991 MB / 4.876 GB, free: 106.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/10.23, allocations: 0.9109 MB / 4.877 GB, free: 105.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/10.23, allocations: 6.312 kB / 4.877 GB, free: 105.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002943/10.24, allocations: 2.139 MB / 4.879 GB, free: 103.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/10.24, allocations: 4 kB / 4.879 GB, free: 103.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/10.24, allocations: 7.375 kB / 4.879 GB, free: 103.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/10.24, allocations: 15.98 kB / 4.879 GB, free: 103.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/10.24, allocations: 375.5 kB / 4.88 GB, free: 103.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/10.24, allocations: 19.92 kB / 4.88 GB, free: 103.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/10.24, allocations: 327.8 kB / 4.88 GB, free: 102.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/10.24, allocations: 63.98 kB / 4.88 GB, free: 102.9 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (219): * Single equations (assignments): 219 * 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.001302/10.24, allocations: 0.5928 MB / 4.881 GB, free: 102.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003416/10.24, allocations: 193.7 kB / 4.881 GB, free: 102.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/10.25, allocations: 2.264 MB / 4.883 GB, free: 99.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/10.25, allocations: 16 kB / 4.883 GB, free: 99.79 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/10.25, allocations: 7.953 kB / 4.883 GB, free: 99.78 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002478/10.25, allocations: 1.858 MB / 4.885 GB, free: 97.91 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008546/10.26, allocations: 5.077 MB / 4.89 GB, free: 92.72 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/10.26, allocations: 7.984 kB / 4.89 GB, free: 92.71 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/10.26, allocations: 430.3 kB / 4.89 GB, free: 92.29 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/10.26, allocations: 12 kB / 4.89 GB, free: 92.28 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/10.26, allocations: 51.97 kB / 4.89 GB, free: 92.23 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/10.26, allocations: 16 kB / 4.89 GB, free: 92.21 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/10.26, allocations: 3.938 kB / 4.89 GB, free: 92.21 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004551/10.26, allocations: 3.525 MB / 4.894 GB, free: 88.58 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/10.26, allocations: 0.5089 MB / 4.894 GB, free: 88.05 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/10.27, allocations: 43.98 kB / 4.894 GB, free: 88.01 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/10.27, allocations: 204.7 kB / 4.895 GB, free: 87.83 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/10.27, allocations: 121.8 kB / 4.895 GB, free: 87.71 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/10.27, allocations: 63.97 kB / 4.895 GB, free: 87.64 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001078/10.27, allocations: 0.9004 MB / 4.896 GB, free: 86.75 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.1e-07/10.27, allocations: 0 / 4.896 GB, free: 86.75 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.003078/10.27, allocations: 1.228 MB / 4.897 GB, free: 85.52 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * 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 (201): * Single equations (assignments): 201 * 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.009541/10.28, allocations: 8.82 MB / 4.905 GB, free: 76.37 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003048/10.28, allocations: 1.95 MB / 4.907 GB, free: 74.42 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/10.28, allocations: 4 kB / 4.907 GB, free: 74.42 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/10.29, allocations: 1.054 MB / 4.908 GB, free: 73.36 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/10.29, allocations: 1.16 MB / 4.909 GB, free: 72.23 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/10.32, allocations: 16.29 MB / 4.925 GB, free: 55.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/10.32, allocations: 1.879 MB / 4.927 GB, free: 53.28 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.00294/10.32, allocations: 0.6282 MB / 4.928 GB, free: 52.68 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/10.32, allocations: 0.9718 MB / 4.929 GB, free: 51.7 MB / 1.198 GB Notification: Performance of SimCode: time 1.503e-06/10.32, allocations: 0 / 4.929 GB, free: 51.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9391/11.26, allocations: 114.3 MB / 5.04 GB, free: 191.5 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/11.26, allocations: 234.3 kB / 5.041 GB, free: 191.2 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.574/16.84, allocations: 0 / 5.041 GB, free: 191.2 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat does not exist to compare? outputFormat=mat