Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.301/2.301, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001302/0.001302, allocations: 190.8 kB / 0.4901 GB, free: 2.219 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.631/1.631, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.00101/0.00101, allocations: 100 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004007, allocations: 10.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.036/5.364, allocations: 1.921 GB / 3.15 GB, free: 37.66 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/5.365, allocations: 96.03 kB / 3.15 GB, free: 37.61 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.122/8.487, allocations: 0.6674 GB / 3.818 GB, free: 279.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.907e-06/8.487, allocations: 0 / 3.818 GB, free: 279.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001654/8.487, allocations: 27.94 kB / 3.818 GB, free: 279.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006017/8.493, allocations: 1.564 MB / 3.819 GB, free: 277.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/8.493, allocations: 8.562 kB / 3.819 GB, free: 277.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005615/8.494, allocations: 135.3 kB / 3.819 GB, free: 277.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003258/8.497, allocations: 373.6 kB / 3.82 GB, free: 277 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/8.5, allocations: 0.8507 MB / 3.82 GB, free: 276.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/8.5, allocations: 66 kB / 3.82 GB, free: 276.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/8.5, allocations: 91.73 kB / 3.821 GB, free: 276 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/8.502, allocations: 1.031 MB / 3.822 GB, free: 274.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/8.502, allocations: 4 kB / 3.822 GB, free: 274.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.864e-05/8.502, allocations: 39.12 kB / 3.822 GB, free: 274.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/8.502, allocations: 37.98 kB / 3.822 GB, free: 274.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/8.503, allocations: 0.8627 MB / 3.822 GB, free: 274 MB / 1.167 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.005843/8.509, allocations: 4.467 MB / 3.827 GB, free: 269.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/8.51, allocations: 0.6588 MB / 3.827 GB, free: 268.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/8.511, allocations: 0.672 MB / 3.828 GB, free: 267.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/8.511, allocations: 46.12 kB / 3.828 GB, free: 267.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.546e-06/8.511, allocations: 3.938 kB / 3.828 GB, free: 267.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.00212/8.513, allocations: 0.9941 MB / 3.829 GB, free: 266.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/8.513, allocations: 59.97 kB / 3.829 GB, free: 266.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/8.514, allocations: 0.5543 MB / 3.83 GB, free: 266.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/8.514, allocations: 41.7 kB / 3.83 GB, free: 266 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/8.514, allocations: 434.7 kB / 3.83 GB, free: 265.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/8.515, allocations: 244.7 kB / 3.83 GB, free: 265.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/8.515, allocations: 16 kB / 3.83 GB, free: 265.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001497/8.515, allocations: 390.2 kB / 3.831 GB, free: 264.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/8.515, allocations: 276.1 kB / 3.831 GB, free: 264.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/8.516, allocations: 370.2 kB / 3.831 GB, free: 264.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/8.516, allocations: 319.1 kB / 3.832 GB, free: 264 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/8.516, allocations: 0 / 3.832 GB, free: 264 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001254/8.518, allocations: 0.7925 MB / 3.833 GB, free: 263.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/8.518, allocations: 11.98 kB / 3.833 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/8.518, allocations: 0 / 3.833 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/8.518, allocations: 4 kB / 3.833 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/8.518, allocations: 147.2 kB / 3.833 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/8.518, allocations: 4 kB / 3.833 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/8.52, allocations: 113.6 kB / 3.833 GB, free: 262.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/8.52, allocations: 27.95 kB / 3.833 GB, free: 262.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0005395/8.52, allocations: 288.8 kB / 3.833 GB, free: 262.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/8.52, allocations: 86.97 kB / 3.833 GB, free: 262.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/8.522, allocations: 0.7955 MB / 3.834 GB, free: 261.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/8.522, allocations: 8 kB / 3.834 GB, free: 261.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/8.522, allocations: 0 / 3.834 GB, free: 261.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009195/8.523, allocations: 0.8196 MB / 3.835 GB, free: 260.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/8.524, allocations: 0.9788 MB / 3.836 GB, free: 259.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/8.524, allocations: 9.641 kB / 3.836 GB, free: 259.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/8.525, allocations: 163.7 kB / 3.836 GB, free: 259.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/8.525, allocations: 7.984 kB / 3.836 GB, free: 259.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/8.525, allocations: 16 kB / 3.836 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/8.525, allocations: 4 kB / 3.836 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/8.525, allocations: 3.5 kB / 3.836 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/8.526, allocations: 1.19 MB / 3.837 GB, free: 258.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/8.527, allocations: 244 kB / 3.837 GB, free: 258.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/8.527, allocations: 19.94 kB / 3.837 GB, free: 258.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/8.528, allocations: 73.69 kB / 3.837 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/8.528, allocations: 42.78 kB / 3.837 GB, free: 258.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/8.528, allocations: 27.98 kB / 3.837 GB, free: 258 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005508/8.529, allocations: 447 kB / 3.838 GB, free: 257.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/8.529, allocations: 0 / 3.838 GB, free: 257.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001541/8.53, allocations: 487.2 kB / 3.838 GB, free: 257.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.004026/8.534, allocations: 3.215 MB / 3.842 GB, free: 254.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001164/8.535, allocations: 0.6785 MB / 3.842 GB, free: 253.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/8.535, allocations: 4 kB / 3.842 GB, free: 253.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004492/8.536, allocations: 363 kB / 3.843 GB, free: 253.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/8.538, allocations: 0.508 MB / 3.843 GB, free: 252.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008075/8.546, allocations: 6.662 MB / 3.85 GB, free: 245.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/8.547, allocations: 1.108 MB / 3.851 GB, free: 244.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001154/8.548, allocations: 224.8 kB / 3.851 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/8.549, allocations: 363.2 kB / 3.851 GB, free: 244.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.804e-06/8.549, allocations: 0 / 3.851 GB, free: 244.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/8.628, allocations: 48.97 MB / 3.899 GB, free: 195.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/8.628, allocations: 192.6 kB / 3.899 GB, free: 195.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/12.5, allocations: 7.875 kB / 3.899 GB, free: 195.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat does not exist to compare? outputFormat=mat