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.279/2.279, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001064/0.001064, allocations: 196.5 kB / 487.4 MB, free: 5.051 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.683/1.683, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.0008905, allocations: 102.5 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.844e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.663/5.964, allocations: 1.935 GB / 3.141 GB, free: 416.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/5.964, allocations: 89.11 kB / 3.141 GB, free: 416.4 MB / 1.151 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 6.365/12.33, allocations: 1.656 GB / 4.797 GB, free: 61.34 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.983e-06/12.33, allocations: 4 kB / 4.797 GB, free: 61.34 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001708/12.33, allocations: 67.92 kB / 4.797 GB, free: 61.27 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.01421/12.34, allocations: 3.246 MB / 4.8 GB, free: 57.97 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/12.34, allocations: 8.031 kB / 4.8 GB, free: 57.96 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007211/12.35, allocations: 0.7927 MB / 4.801 GB, free: 57.16 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004946/12.36, allocations: 1.685 MB / 4.802 GB, free: 55.42 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/12.36, allocations: 76 kB / 4.803 GB, free: 55.35 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004684/12.36, allocations: 155.9 kB / 4.803 GB, free: 55.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004496/12.36, allocations: 2.345 MB / 4.805 GB, free: 52.84 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004477/12.37, allocations: 2.628 MB / 4.808 GB, free: 50.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-05/12.37, allocations: 8 kB / 4.808 GB, free: 50.09 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/12.37, allocations: 0 / 4.808 GB, free: 50.09 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/12.37, allocations: 116.7 kB / 4.808 GB, free: 49.98 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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.01646/12.38, allocations: 12.15 MB / 4.819 GB, free: 36.79 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/12.39, allocations: 2.633 MB / 4.822 GB, free: 33.98 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/12.39, allocations: 1.176 MB / 4.823 GB, free: 32.81 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/12.39, allocations: 1.375 MB / 4.825 GB, free: 31.14 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/12.39, allocations: 64.55 kB / 4.825 GB, free: 31.07 MB / 1.182 GB Notification: Performance of pre-optimization done (n=197): time 6.122e-06/12.39, allocations: 0 / 4.825 GB, free: 31.07 MB / 1.182 GB Notification: Performance of matching and sorting (n=197): time 0.00375/12.39, allocations: 2.013 MB / 4.827 GB, free: 29.05 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/12.39, allocations: 81.39 kB / 4.827 GB, free: 28.95 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/12.39, allocations: 0.8619 MB / 4.828 GB, free: 28.09 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/12.39, allocations: 29.7 kB / 4.828 GB, free: 28.05 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/12.39, allocations: 0.958 MB / 4.828 GB, free: 27.08 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006109/12.39, allocations: 0.6542 MB / 4.829 GB, free: 26.42 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/12.4, allocations: 0 / 4.829 GB, free: 26.42 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001269/12.4, allocations: 369.9 kB / 4.829 GB, free: 26.05 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009627/12.4, allocations: 0.7693 MB / 4.83 GB, free: 25.28 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/12.4, allocations: 0.9885 MB / 4.831 GB, free: 24.23 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/12.4, allocations: 0.9389 MB / 4.832 GB, free: 23.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/12.4, allocations: 4 kB / 4.832 GB, free: 23.29 MB / 1.182 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00334/12.4, allocations: 2.103 MB / 4.834 GB, free: 21.18 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/12.4, allocations: 4 kB / 4.834 GB, free: 21.18 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/12.4, allocations: 4.344 kB / 4.834 GB, free: 21.18 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/12.4, allocations: 15.94 kB / 4.834 GB, free: 21.16 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/12.4, allocations: 391.5 kB / 4.835 GB, free: 20.78 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/12.4, allocations: 15.95 kB / 4.835 GB, free: 20.76 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/12.41, allocations: 282.4 kB / 4.835 GB, free: 20.48 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/12.41, allocations: 67.97 kB / 4.835 GB, free: 20.42 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 () * 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.0003462/12.41, allocations: 128.6 kB / 4.835 GB, free: 20.29 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003287/12.41, allocations: 1.979 MB / 4.837 GB, free: 18.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/12.41, allocations: 181.8 kB / 4.837 GB, free: 18.12 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/12.41, allocations: 2.199 MB / 4.839 GB, free: 15.91 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/12.41, allocations: 20 kB / 4.839 GB, free: 15.89 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/12.41, allocations: 0 / 4.839 GB, free: 15.89 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002675/12.42, allocations: 1.858 MB / 4.841 GB, free: 14.02 MB / 1.182 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.009845/12.43, allocations: 5.123 MB / 4.846 GB, free: 8.746 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/12.43, allocations: 7.953 kB / 4.846 GB, free: 8.738 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/12.43, allocations: 447.4 kB / 4.847 GB, free: 8.301 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/12.43, allocations: 8 kB / 4.847 GB, free: 8.293 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/12.43, allocations: 35.95 kB / 4.847 GB, free: 8.258 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-05/12.43, allocations: 16.06 kB / 4.847 GB, free: 8.242 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/12.43, allocations: 0 / 4.847 GB, free: 8.242 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004823/12.43, allocations: 3.423 MB / 4.85 GB, free: 4.73 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/12.44, allocations: 0.4908 MB / 4.85 GB, free: 4.219 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006141/12.44, allocations: 15.94 kB / 4.85 GB, free: 4.203 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/12.44, allocations: 179.5 kB / 4.851 GB, free: 4.027 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/12.44, allocations: 125.7 kB / 4.851 GB, free: 3.906 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/12.44, allocations: 71.95 kB / 4.851 GB, free: 3.836 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001392/12.44, allocations: 0.6652 MB / 4.851 GB, free: 3.168 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.3e-07/12.44, allocations: 0 / 4.851 GB, free: 3.168 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004267/12.45, allocations: 1.076 MB / 4.852 GB, free: 2.09 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 () * 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.01354/12.46, allocations: 9.142 MB / 4.861 GB, free: 8.445 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004348/12.46, allocations: 1.927 MB / 4.863 GB, free: 6.516 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/12.46, allocations: 3.938 kB / 4.863 GB, free: 6.512 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/12.47, allocations: 1.051 MB / 4.864 GB, free: 5.465 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00684/12.47, allocations: 0.9905 MB / 4.865 GB, free: 4.488 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9579/13.43, allocations: 5.014 MB / 4.87 GB, free: 158.8 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/13.43, allocations: 1.877 MB / 4.872 GB, free: 158.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003546/13.44, allocations: 0.6129 MB / 4.873 GB, free: 158.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/13.44, allocations: 0.9708 MB / 4.874 GB, free: 158.1 MB / 1.198 GB Notification: Performance of SimCode: time 1.543e-06/13.44, allocations: 2.438 kB / 4.874 GB, free: 158.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1904/13.63, allocations: 81.52 MB / 4.953 GB, free: 156.8 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/13.63, allocations: 186.8 kB / 4.953 GB, free: 156.6 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.91/18.54, allocations: 3.656 kB / 4.953 GB, free: 156.6 MB / 1.198 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