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.337/2.337, allocations: 390.5 MB / 398 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.001196/0.001196, allocations: 172 kB / 491.2 MB, free: 1.602 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.679/1.679, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009262/0.0009263, allocations: 83.61 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.054e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.406, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.998/6.404, allocations: 1.936 GB / 3.148 GB, free: 333.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/6.404, allocations: 90.94 kB / 3.148 GB, free: 333.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.592/13, allocations: 1.656 GB / 4.804 GB, free: 6.719 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.146e-06/13, allocations: 3.938 kB / 4.804 GB, free: 6.715 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004492/13, allocations: 63.98 kB / 4.804 GB, free: 6.652 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.01757/13.01, allocations: 3.251 MB / 4.807 GB, free: 3.34 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/13.01, allocations: 12.03 kB / 4.807 GB, free: 3.328 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/13.02, allocations: 0.7965 MB / 4.808 GB, free: 2.527 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006343/13.03, allocations: 1.685 MB / 4.81 GB, free: 0.7852 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/13.03, allocations: 76 kB / 4.81 GB, free: 0.7109 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/13.03, allocations: 148 kB / 4.81 GB, free: 0.5664 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007391/13.04, allocations: 2.352 MB / 4.812 GB, free: 14.21 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0063/13.04, allocations: 2.625 MB / 4.815 GB, free: 11.46 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.471e-05/13.04, allocations: 11.84 kB / 4.815 GB, free: 11.45 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/13.04, allocations: 0 / 4.815 GB, free: 11.45 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/13.04, allocations: 124.7 kB / 4.815 GB, free: 11.33 MB / 1.214 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 1.167/14.21, allocations: 12.12 MB / 4.827 GB, free: 159.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004261/14.22, allocations: 2.628 MB / 4.829 GB, free: 158.1 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/14.22, allocations: 1.179 MB / 4.83 GB, free: 158.1 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/14.22, allocations: 1.38 MB / 4.832 GB, free: 156.6 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/14.22, allocations: 57.61 kB / 4.832 GB, free: 156.6 MB / 1.214 GB Notification: Performance of pre-optimization done (n=197): time 5.299e-06/14.22, allocations: 0 / 4.832 GB, free: 156.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=197): time 0.005136/14.23, allocations: 2.02 MB / 4.834 GB, free: 156.5 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/14.23, allocations: 74.53 kB / 4.834 GB, free: 156.4 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/14.23, allocations: 0.8716 MB / 4.835 GB, free: 156.3 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/14.23, allocations: 25.7 kB / 4.835 GB, free: 156.3 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009442/14.23, allocations: 0.952 MB / 4.836 GB, free: 156 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008348/14.23, allocations: 0.6549 MB / 4.836 GB, free: 155.7 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/14.23, allocations: 0 / 4.836 GB, free: 155.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001683/14.23, allocations: 377.2 kB / 4.837 GB, free: 155.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/14.23, allocations: 0.7693 MB / 4.837 GB, free: 155.4 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/14.23, allocations: 0.9824 MB / 4.838 GB, free: 155.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/14.23, allocations: 0.9431 MB / 4.839 GB, free: 155.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/14.23, allocations: 0 / 4.839 GB, free: 155.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004703/14.24, allocations: 2.104 MB / 4.841 GB, free: 155 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/14.24, allocations: 6.438 kB / 4.841 GB, free: 155 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/14.24, allocations: 4.5 kB / 4.841 GB, free: 155 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.277e-05/14.24, allocations: 11.19 kB / 4.841 GB, free: 155 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/14.24, allocations: 399.6 kB / 4.842 GB, free: 155 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/14.24, allocations: 11.19 kB / 4.842 GB, free: 155 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/14.24, allocations: 270.8 kB / 4.842 GB, free: 155 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/14.24, allocations: 75.94 kB / 4.842 GB, free: 155 MB / 1.214 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.0003604/14.24, allocations: 133.1 kB / 4.842 GB, free: 154.9 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004025/14.25, allocations: 1.986 MB / 4.844 GB, free: 154.7 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/14.25, allocations: 177.5 kB / 4.844 GB, free: 154.6 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004609/14.25, allocations: 2.188 MB / 4.846 GB, free: 154.5 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/14.25, allocations: 24.88 kB / 4.846 GB, free: 154.5 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/14.25, allocations: 0 / 4.846 GB, free: 154.5 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003468/14.26, allocations: 1.849 MB / 4.848 GB, free: 154.4 MB / 1.214 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.01139/14.27, allocations: 5.12 MB / 4.853 GB, free: 153.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/14.27, allocations: 2.344 kB / 4.853 GB, free: 153.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/14.27, allocations: 448.5 kB / 4.854 GB, free: 153.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-05/14.27, allocations: 12.16 kB / 4.854 GB, free: 153.6 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/14.27, allocations: 39.44 kB / 4.854 GB, free: 153.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.947e-05/14.27, allocations: 12 kB / 4.854 GB, free: 153.6 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/14.27, allocations: 5.062 kB / 4.854 GB, free: 153.6 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006348/14.28, allocations: 3.43 MB / 4.857 GB, free: 153 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/14.28, allocations: 0.4987 MB / 4.858 GB, free: 152.8 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/14.28, allocations: 10.34 kB / 4.858 GB, free: 152.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/14.28, allocations: 181.3 kB / 4.858 GB, free: 152.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/14.28, allocations: 122.1 kB / 4.858 GB, free: 152.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/14.28, allocations: 74.81 kB / 4.858 GB, free: 152.8 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001344/14.28, allocations: 0.6653 MB / 4.859 GB, free: 152.7 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.81e-07/14.28, allocations: 0 / 4.859 GB, free: 152.7 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004064/14.29, allocations: 1.071 MB / 4.86 GB, free: 152.6 MB / 1.214 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.0154/14.3, allocations: 9.147 MB / 4.869 GB, free: 149.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.003954/14.31, allocations: 1.927 MB / 4.87 GB, free: 149.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/14.31, allocations: 0 / 4.87 GB, free: 149.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/14.31, allocations: 1.052 MB / 4.871 GB, free: 149.1 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005909/14.31, allocations: 0.9775 MB / 4.872 GB, free: 149.1 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/14.33, allocations: 5.031 MB / 4.877 GB, free: 148 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/14.33, allocations: 1.88 MB / 4.879 GB, free: 147.2 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003119/14.33, allocations: 0.6198 MB / 4.88 GB, free: 147.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/14.33, allocations: 0.9673 MB / 4.881 GB, free: 147.2 MB / 1.214 GB Notification: Performance of SimCode: time 1.753e-06/14.33, allocations: 0 / 4.881 GB, free: 147.2 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2086/14.54, allocations: 81.51 MB / 4.96 GB, free: 145.1 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/14.54, allocations: 189.5 kB / 4.961 GB, free: 144.9 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.953/19.49, allocations: 0 / 4.961 GB, free: 144.9 MB / 1.214 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