Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation",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.146/2.146, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.00107/0.00107, allocations: 177.2 kB / 498.1 MB, free: 5.754 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.401/1.401, allocations: 223.2 MB / 0.7948 GB, free: 18 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.000884/0.000884, allocations: 92.33 kB / 0.9346 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 10.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3367, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.991/4.327, allocations: 1.92 GB / 3.143 GB, free: 94.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/4.328, allocations: 88.52 kB / 3.143 GB, free: 94.51 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.465/6.793, allocations: 0.6675 GB / 3.81 GB, free: 295.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.382e-06/6.793, allocations: 0 / 3.81 GB, free: 295.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001171/6.793, allocations: 28.25 kB / 3.81 GB, free: 295.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.004884/6.798, allocations: 1.555 MB / 3.812 GB, free: 294.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/6.798, allocations: 10.19 kB / 3.812 GB, free: 294.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000424/6.799, allocations: 141.4 kB / 3.812 GB, free: 294.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002831/6.801, allocations: 373.5 kB / 3.812 GB, free: 294.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/6.803, allocations: 0.8486 MB / 3.813 GB, free: 294 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/6.804, allocations: 58.59 kB / 3.813 GB, free: 294 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/6.804, allocations: 96.98 kB / 3.813 GB, free: 294 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/6.806, allocations: 1.031 MB / 3.814 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/6.806, allocations: 7.328 kB / 3.814 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/6.806, allocations: 41.06 kB / 3.814 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/6.806, allocations: 30.78 kB / 3.815 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/6.808, allocations: 0.8709 MB / 3.815 GB, free: 293.8 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.005391/6.813, allocations: 4.451 MB / 3.82 GB, free: 291.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/6.814, allocations: 0.6642 MB / 3.82 GB, free: 291.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/6.815, allocations: 0.6797 MB / 3.821 GB, free: 290.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/6.815, allocations: 38.69 kB / 3.821 GB, free: 290.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 4.368e-06/6.815, allocations: 3.891 kB / 3.821 GB, free: 290.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.00189/6.817, allocations: 1.002 MB / 3.822 GB, free: 290.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/6.817, allocations: 59.25 kB / 3.822 GB, free: 290.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/6.818, allocations: 0.5472 MB / 3.823 GB, free: 290.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/6.818, allocations: 40.67 kB / 3.823 GB, free: 290.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/6.818, allocations: 434.8 kB / 3.823 GB, free: 289.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/6.818, allocations: 245.9 kB / 3.823 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/6.818, allocations: 16.53 kB / 3.823 GB, free: 289.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001326/6.818, allocations: 387.2 kB / 3.824 GB, free: 289.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/6.819, allocations: 275.7 kB / 3.824 GB, free: 289.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/6.819, allocations: 371.6 kB / 3.824 GB, free: 289.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/6.82, allocations: 328.1 kB / 3.825 GB, free: 289.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/6.82, allocations: 0 / 3.825 GB, free: 289.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001245/6.821, allocations: 0.7918 MB / 3.825 GB, free: 289.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/6.821, allocations: 7.281 kB / 3.825 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/6.821, allocations: 3.156 kB / 3.825 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/6.821, allocations: 5.469 kB / 3.825 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/6.822, allocations: 143.2 kB / 3.826 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/6.822, allocations: 3.719 kB / 3.826 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/6.823, allocations: 122.7 kB / 3.826 GB, free: 289.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/6.823, allocations: 21.5 kB / 3.826 GB, free: 289.3 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.0005004/6.824, allocations: 289.1 kB / 3.826 GB, free: 289.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/6.824, allocations: 86.59 kB / 3.826 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/6.825, allocations: 0.7984 MB / 3.827 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/6.825, allocations: 7.125 kB / 3.827 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/6.825, allocations: 2.562 kB / 3.827 GB, free: 289.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009401/6.826, allocations: 0.8194 MB / 3.828 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/6.827, allocations: 0.9885 MB / 3.829 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/6.827, allocations: 0 / 3.829 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/6.828, allocations: 169 kB / 3.829 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/6.828, allocations: 3.281 kB / 3.829 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/6.828, allocations: 21.02 kB / 3.829 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/6.828, allocations: 0 / 3.829 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/6.828, allocations: 3.344 kB / 3.829 GB, free: 288.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/6.83, allocations: 1.196 MB / 3.83 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/6.831, allocations: 252.9 kB / 3.83 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/6.831, allocations: 15.44 kB / 3.83 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/6.832, allocations: 69.12 kB / 3.83 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/6.832, allocations: 41.47 kB / 3.83 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/6.832, allocations: 25.09 kB / 3.83 GB, free: 288.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005163/6.832, allocations: 453.5 kB / 3.831 GB, free: 288.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/6.832, allocations: 0 / 3.831 GB, free: 288.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001509/6.834, allocations: 482.4 kB / 3.831 GB, free: 288.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.003997/6.838, allocations: 3.209 MB / 3.834 GB, free: 287 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001112/6.839, allocations: 0.6776 MB / 3.835 GB, free: 287 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/6.839, allocations: 3.172 kB / 3.835 GB, free: 287 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004609/6.84, allocations: 368.7 kB / 3.835 GB, free: 287 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/6.842, allocations: 0.5084 MB / 3.836 GB, free: 287 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/6.851, allocations: 6.655 MB / 3.842 GB, free: 283.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/6.852, allocations: 1.107 MB / 3.843 GB, free: 282.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001069/6.853, allocations: 230.4 kB / 3.844 GB, free: 282.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/6.853, allocations: 359.8 kB / 3.844 GB, free: 282.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/6.853, allocations: 0 / 3.844 GB, free: 282.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07243/6.926, allocations: 48.97 MB / 3.892 GB, free: 244.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/6.926, allocations: 179 kB / 3.892 GB, free: 244.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.463/10.39, allocations: 0 / 3.892 GB, free: 244.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat does not exist to compare? outputFormat=mat