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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009476/0.0009477, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.645/2.645, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004039, allocations: 8 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/0.8296, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2047/1.034, allocations: 167.1 MB / 1.117 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01642/1.051, allocations: 7.35 MB / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/1.053, allocations: 27.81 kB / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/1.056, allocations: 0.6339 MB / 1.125 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007139/1.063, allocations: 2.103 MB / 1.127 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/1.066, allocations: 0.962 MB / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00374/1.07, allocations: 1.691 MB / 1.129 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/1.071, allocations: 0.6891 MB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/1.074, allocations: 0.8021 MB / 1.131 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/1.075, allocations: 0.6109 MB / 1.131 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003528/1.075, allocations: 48 kB / 1.131 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/1.079, allocations: 0.8853 MB / 1.132 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006763/1.079, allocations: 355 kB / 1.133 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007798/1.08, allocations: 257.1 kB / 1.133 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/1.083, allocations: 1.473 MB / 1.134 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/1.083, allocations: 0 / 1.134 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.767e-06/1.083, allocations: 0 / 1.134 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.299e-05/1.083, allocations: 3.938 kB / 1.134 GB, free: 6.699 MB / 0.8887 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.00365/1.087, allocations: 1.375 MB / 1.136 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.087, allocations: 16.02 kB / 1.136 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000307/1.087, allocations: 139.2 kB / 1.136 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/1.09, allocations: 374.2 kB / 1.136 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/1.092, allocations: 0.7856 MB / 1.137 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/1.092, allocations: 65.98 kB / 1.137 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/1.092, allocations: 87.95 kB / 1.137 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/1.094, allocations: 1.03 MB / 1.138 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/1.094, allocations: 7.844 kB / 1.138 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.094, allocations: 36 kB / 1.138 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/1.094, allocations: 45.98 kB / 1.138 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.096, allocations: 0.8821 MB / 1.139 GB, free: 1.734 MB / 0.8887 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.005602/1.101, allocations: 4.288 MB / 1.143 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/1.102, allocations: 0.6873 MB / 1.144 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/1.103, allocations: 0.681 MB / 1.144 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.103, allocations: 39.12 kB / 1.144 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 2.986e-06/1.103, allocations: 0 / 1.144 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.002052/1.105, allocations: 1.002 MB / 1.145 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.105, allocations: 59.97 kB / 1.146 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/1.106, allocations: 0.6295 MB / 1.146 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.403e-05/1.106, allocations: 41.7 kB / 1.146 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/1.107, allocations: 436 kB / 1.147 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/1.107, allocations: 240.4 kB / 1.147 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/1.107, allocations: 12 kB / 1.147 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002404/1.108, allocations: 390.7 kB / 1.147 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/1.108, allocations: 277.2 kB / 1.147 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/1.109, allocations: 357 kB / 1.148 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007841/1.11, allocations: 327.1 kB / 1.148 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.11, allocations: 0 / 1.148 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002009/1.112, allocations: 0.793 MB / 1.149 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/1.112, allocations: 13.22 kB / 1.149 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.112, allocations: 0 / 1.149 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.112, allocations: 8 kB / 1.149 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009188/1.113, allocations: 147.8 kB / 1.149 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/1.113, allocations: 11.92 kB / 1.149 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.114, allocations: 111.3 kB / 1.149 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/1.115, allocations: 31.98 kB / 1.149 GB, free: 6.605 MB / 0.9044 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.0008012/1.115, allocations: 289.4 kB / 1.149 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/1.116, allocations: 87 kB / 1.15 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/1.118, allocations: 0.792 MB / 1.15 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.118, allocations: 8 kB / 1.15 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.118, allocations: 0 / 1.15 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001837/1.12, allocations: 0.827 MB / 1.151 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/1.122, allocations: 0.9773 MB / 1.152 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.122, allocations: 0 / 1.152 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.124, allocations: 159.8 kB / 1.152 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.124, allocations: 7.938 kB / 1.152 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/1.124, allocations: 19.98 kB / 1.152 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/1.124, allocations: 4 kB / 1.152 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.124, allocations: 4 kB / 1.152 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/1.127, allocations: 1.19 MB / 1.153 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.128, allocations: 251.8 kB / 1.154 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/1.128, allocations: 15.98 kB / 1.154 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.13, allocations: 76.73 kB / 1.154 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.13, allocations: 44.48 kB / 1.154 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/1.13, allocations: 20 kB / 1.154 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001097/1.131, allocations: 451 kB / 1.154 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.131, allocations: 0 / 1.154 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001553/1.133, allocations: 331.3 kB / 1.155 GB, free: 0.9336 MB / 0.9044 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.003495/1.136, allocations: 1.851 MB / 1.156 GB, free: 15.05 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001844/1.138, allocations: 0.6679 MB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.138, allocations: 0 / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000786/1.139, allocations: 379 kB / 1.157 GB, free: 14.01 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/1.143, allocations: 0.4982 MB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.157, allocations: 6.67 MB / 1.164 GB, free: 6.719 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.159, allocations: 1.116 MB / 1.166 GB, free: 5.57 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001561/1.16, allocations: 223.2 kB / 1.166 GB, free: 5.348 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/1.161, allocations: 355.3 kB / 1.166 GB, free: 5 MB / 0.92 GB Notification: Performance of SimCode: time 7.61e-07/1.161, allocations: 3.938 kB / 1.166 GB, free: 4.996 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/1.217, allocations: 25.02 MB / 1.191 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.217, allocations: 181.7 kB / 1.191 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.386, allocations: 3.938 kB / 1.191 GB, free: 12.11 MB / 0.9512 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