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.366/2.366, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001242/0.001242, allocations: 169 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.000967/0.000967, allocations: 95.19 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.341e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3065, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.249/6.555, allocations: 1.936 GB / 3.155 GB, free: 322.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/6.556, allocations: 88.39 kB / 3.155 GB, free: 322.3 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 7.18/13.74, allocations: 1.673 GB / 4.829 GB, free: 154.2 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.963e-06/13.74, allocations: 0 / 4.829 GB, free: 154.2 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0003499/13.74, allocations: 69.22 kB / 4.829 GB, free: 154.2 MB / 1.214 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.01595/13.75, allocations: 3.24 MB / 4.832 GB, free: 153.7 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/13.75, allocations: 9.812 kB / 4.832 GB, free: 153.7 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/13.75, allocations: 346.9 kB / 4.832 GB, free: 153.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007092/13.76, allocations: 0.8011 MB / 4.833 GB, free: 153.5 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/13.77, allocations: 1.689 MB / 4.835 GB, free: 153.2 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/13.77, allocations: 188.2 kB / 4.835 GB, free: 153.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006619/13.77, allocations: 249.5 kB / 4.835 GB, free: 153.2 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007232/13.77, allocations: 2.968 MB / 4.838 GB, free: 152.9 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/13.78, allocations: 3.844 kB / 4.838 GB, free: 152.9 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/13.78, allocations: 103.5 kB / 4.838 GB, free: 152.9 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002174/13.78, allocations: 116.9 kB / 4.838 GB, free: 152.9 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005691/13.78, allocations: 2.652 MB / 4.841 GB, free: 152.8 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 0.0189/13.8, allocations: 12.39 MB / 4.853 GB, free: 145.8 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/13.8, allocations: 2.091 MB / 4.855 GB, free: 145.4 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/13.81, allocations: 1.21 MB / 4.856 GB, free: 145.4 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/13.81, allocations: 1.379 MB / 4.857 GB, free: 143.9 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/13.81, allocations: 56.22 kB / 4.857 GB, free: 143.9 MB / 1.214 GB Notification: Performance of pre-optimization done (n=197): time 4.168e-06/13.81, allocations: 0 / 4.857 GB, free: 143.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=197): time 0.004766/13.81, allocations: 1.996 MB / 4.859 GB, free: 143.7 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/13.81, allocations: 77.08 kB / 4.859 GB, free: 143.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/13.81, allocations: 1.131 MB / 4.86 GB, free: 143.5 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/13.81, allocations: 62.52 kB / 4.861 GB, free: 143.4 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/13.82, allocations: 0.9581 MB / 4.861 GB, free: 143.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008253/13.82, allocations: 0.6785 MB / 4.862 GB, free: 142.8 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/13.82, allocations: 37.84 kB / 4.862 GB, free: 142.8 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001489/13.82, allocations: 372.8 kB / 4.863 GB, free: 142.5 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/13.82, allocations: 0.752 MB / 4.863 GB, free: 142.5 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/13.82, allocations: 0.9798 MB / 4.864 GB, free: 142.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/13.82, allocations: 0.9025 MB / 4.865 GB, free: 142.3 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/13.82, allocations: 0 / 4.865 GB, free: 142.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004559/13.83, allocations: 2.112 MB / 4.867 GB, free: 142.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/13.83, allocations: 7.031 kB / 4.867 GB, free: 142.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/13.83, allocations: 2.312 kB / 4.867 GB, free: 142.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.688e-05/13.83, allocations: 11.19 kB / 4.867 GB, free: 142.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/13.83, allocations: 377.2 kB / 4.868 GB, free: 142.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-05/13.83, allocations: 15.23 kB / 4.868 GB, free: 142.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/13.83, allocations: 335.9 kB / 4.868 GB, free: 142.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/13.83, allocations: 66.05 kB / 4.868 GB, free: 142.1 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.000436/13.83, allocations: 193.8 kB / 4.868 GB, free: 142 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000613/13.83, allocations: 200.5 kB / 4.868 GB, free: 141.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/13.84, allocations: 2.223 MB / 4.871 GB, free: 141.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/13.84, allocations: 18.8 kB / 4.871 GB, free: 141.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/13.84, allocations: 1.5 kB / 4.871 GB, free: 141.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003935/13.84, allocations: 1.831 MB / 4.872 GB, free: 141.6 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/13.85, allocations: 5.05 MB / 4.877 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/13.85, allocations: 3.094 kB / 4.877 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/13.86, allocations: 433.5 kB / 4.878 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/13.86, allocations: 9.406 kB / 4.878 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/13.86, allocations: 52.86 kB / 4.878 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/13.86, allocations: 13.42 kB / 4.878 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/13.86, allocations: 4.594 kB / 4.878 GB, free: 141.1 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/13.86, allocations: 3.473 MB / 4.881 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/13.87, allocations: 0.5069 MB / 4.882 GB, free: 140.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/13.87, allocations: 40.52 kB / 4.882 GB, free: 140.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/13.87, allocations: 208.9 kB / 4.882 GB, free: 140.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/13.87, allocations: 119.3 kB / 4.882 GB, free: 140.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/13.87, allocations: 71.81 kB / 4.882 GB, free: 140.2 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001651/13.87, allocations: 0.8782 MB / 4.883 GB, free: 140.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.8e-07/13.87, allocations: 2.188 kB / 4.883 GB, free: 140.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.005211/13.88, allocations: 1.226 MB / 4.884 GB, free: 140.1 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.01273/13.89, allocations: 8.795 MB / 4.893 GB, free: 136.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.003554/13.89, allocations: 1.918 MB / 4.895 GB, free: 136.5 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/13.89, allocations: 0 / 4.895 GB, free: 136.5 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/13.89, allocations: 1.04 MB / 4.896 GB, free: 136.5 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006186/13.9, allocations: 1.161 MB / 4.897 GB, free: 136.5 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/13.91, allocations: 5.149 MB / 4.902 GB, free: 135.4 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/13.91, allocations: 1.881 MB / 4.904 GB, free: 134.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003367/13.92, allocations: 0.6255 MB / 4.904 GB, free: 134.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/13.92, allocations: 0.9668 MB / 4.905 GB, free: 134.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.113e-06/13.92, allocations: 0 / 4.905 GB, free: 134.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1903/14.11, allocations: 123.8 MB / 5.026 GB, free: 131.3 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/14.11, allocations: 203.6 kB / 5.026 GB, free: 131.1 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/20.67, allocations: 0 / 5.026 GB, free: 131.1 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