Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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.371/2.371, 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.001145/0.001145, allocations: 191.2 kB / 498.1 MB, free: 5.73 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.719/1.719, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001002/0.001002, allocations: 96.2 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003935, allocations: 10.16 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3094, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.998/4.307, allocations: 1.936 GB / 3.159 GB, free: 51.53 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/4.308, allocations: 95.44 kB / 3.159 GB, free: 51.48 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.3/9.608, allocations: 1.675 GB / 4.833 GB, free: 143 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.324e-06/9.608, allocations: 1.156 kB / 4.833 GB, free: 143 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003114/9.608, allocations: 71.92 kB / 4.833 GB, free: 143 MB / 1.182 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.01506/9.623, allocations: 3.59 MB / 4.837 GB, free: 139.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/9.623, allocations: 8.031 kB / 4.837 GB, free: 139.4 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001508/9.625, allocations: 350 kB / 4.837 GB, free: 139 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006474/9.631, allocations: 0.8068 MB / 4.838 GB, free: 138.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005329/9.637, allocations: 1.691 MB / 4.84 GB, free: 136.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/9.637, allocations: 184.8 kB / 4.84 GB, free: 136.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/9.638, allocations: 251.9 kB / 4.84 GB, free: 136 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007757/9.646, allocations: 3.024 MB / 4.843 GB, free: 132.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/9.646, allocations: 7.938 kB / 4.843 GB, free: 132.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005676/9.646, allocations: 104 kB / 4.843 GB, free: 132.8 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/9.647, allocations: 112.7 kB / 4.843 GB, free: 132.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005533/9.652, allocations: 2.729 MB / 4.846 GB, free: 129.9 MB / 1.182 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.01585/9.668, allocations: 12.39 MB / 4.858 GB, free: 116.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/9.671, allocations: 2.11 MB / 4.86 GB, free: 114.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/9.672, allocations: 1.381 MB / 4.861 GB, free: 112.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/9.672, allocations: 56.56 kB / 4.861 GB, free: 112.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=197): time 3.948e-06/9.672, allocations: 0 / 4.861 GB, free: 112.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=197): time 0.004828/9.677, allocations: 2.81 MB / 4.864 GB, free: 109.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/9.677, allocations: 76.58 kB / 4.864 GB, free: 109.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/9.679, allocations: 1.148 MB / 4.865 GB, free: 108.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/9.679, allocations: 61.7 kB / 4.865 GB, free: 108.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/9.68, allocations: 0.962 MB / 4.866 GB, free: 107.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000509/9.68, allocations: 0.6776 MB / 4.867 GB, free: 106.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/9.68, allocations: 36 kB / 4.867 GB, free: 106.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/9.68, allocations: 373.9 kB / 4.867 GB, free: 106.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/9.681, allocations: 0.7652 MB / 4.868 GB, free: 105.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/9.683, allocations: 1.001 MB / 4.869 GB, free: 104.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/9.684, allocations: 0.9122 MB / 4.87 GB, free: 103.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/9.684, allocations: 3.938 kB / 4.87 GB, free: 103.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003054/9.687, allocations: 2.141 MB / 4.872 GB, free: 101.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/9.687, allocations: 8 kB / 4.872 GB, free: 101.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/9.687, allocations: 1.75 kB / 4.872 GB, free: 101.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/9.687, allocations: 15.94 kB / 4.872 GB, free: 101.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/9.689, allocations: 375.5 kB / 4.873 GB, free: 101.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.883e-05/9.689, allocations: 17.48 kB / 4.873 GB, free: 101.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/9.691, allocations: 330.4 kB / 4.873 GB, free: 100.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/9.691, allocations: 59.98 kB / 4.873 GB, free: 100.8 MB / 1.182 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.001068/9.692, allocations: 0.6022 MB / 4.874 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/9.693, allocations: 193.7 kB / 4.874 GB, free: 100 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/9.696, allocations: 2.254 MB / 4.876 GB, free: 97.77 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/9.696, allocations: 20 kB / 4.876 GB, free: 97.75 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/9.696, allocations: 0 / 4.876 GB, free: 97.75 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002393/9.699, allocations: 1.873 MB / 4.878 GB, free: 95.86 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008383/9.707, allocations: 5.08 MB / 4.883 GB, free: 90.67 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/9.707, allocations: 4 kB / 4.883 GB, free: 90.67 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/9.709, allocations: 426 kB / 4.883 GB, free: 90.25 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.628e-05/9.709, allocations: 13.34 kB / 4.883 GB, free: 90.24 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/9.709, allocations: 51.97 kB / 4.883 GB, free: 90.19 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/9.709, allocations: 19.39 kB / 4.883 GB, free: 90.18 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/9.709, allocations: 4 kB / 4.883 GB, free: 90.17 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/9.714, allocations: 3.529 MB / 4.887 GB, free: 86.54 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/9.715, allocations: 0.5022 MB / 4.887 GB, free: 86.01 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000434/9.715, allocations: 40 kB / 4.887 GB, free: 85.97 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/9.718, allocations: 207.9 kB / 4.887 GB, free: 85.79 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/9.718, allocations: 117.8 kB / 4.888 GB, free: 85.67 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/9.718, allocations: 70.47 kB / 4.888 GB, free: 85.61 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001259/9.719, allocations: 0.8966 MB / 4.888 GB, free: 84.71 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.41e-07/9.719, allocations: 0 / 4.888 GB, free: 84.71 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003561/9.723, allocations: 1.228 MB / 4.89 GB, free: 83.48 MB / 1.182 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.009899/9.733, allocations: 8.828 MB / 4.898 GB, free: 74.43 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003123/9.736, allocations: 1.954 MB / 4.9 GB, free: 72.47 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/9.736, allocations: 3.938 kB / 4.9 GB, free: 72.47 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/9.737, allocations: 1.046 MB / 4.901 GB, free: 71.43 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005533/9.743, allocations: 1.168 MB / 4.902 GB, free: 70.29 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02396/9.767, allocations: 16.3 MB / 4.918 GB, free: 53.25 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/9.769, allocations: 1.871 MB / 4.92 GB, free: 51.34 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003125/9.772, allocations: 0.6307 MB / 4.921 GB, free: 50.74 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/9.773, allocations: 0.9757 MB / 4.922 GB, free: 49.76 MB / 1.182 GB Notification: Performance of SimCode: time 7.62e-07/9.773, allocations: 0 / 4.922 GB, free: 49.76 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7596/10.53, allocations: 114.3 MB / 5.033 GB, free: 186.8 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/10.53, allocations: 227.3 kB / 5.033 GB, free: 186.5 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.688/16.22, allocations: 3.969 kB / 5.033 GB, free: 186.5 MB / 1.214 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam_res.mat does not exist to compare? outputFormat=mat