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.0008447/0.0008452, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008881/0.0008882, allocations: 168.7 kB / 15.95 MB, free: 204 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.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.418 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.414/2.414, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7841, allocations: 142.3 MB / 0.9538 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2125/0.9967, allocations: 183.9 MB / 1.133 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01207/1.009, allocations: 6.926 MB / 1.14 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/1.01, allocations: 31.81 kB / 1.14 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/1.012, allocations: 469.2 kB / 1.141 GB, free: 360 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005734/1.018, allocations: 1.76 MB / 1.142 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/1.021, allocations: 0.8556 MB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005471/1.027, allocations: 3.495 MB / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/1.028, allocations: 0.6734 MB / 1.147 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/1.03, allocations: 0.8754 MB / 1.148 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/1.031, allocations: 0.9184 MB / 1.149 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/1.032, allocations: 48 kB / 1.149 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/1.035, allocations: 1.052 MB / 1.15 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005317/1.036, allocations: 378.8 kB / 1.15 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/1.036, allocations: 265.1 kB / 1.151 GB, free: 6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/1.038, allocations: 1.602 MB / 1.152 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.038, allocations: 0 / 1.152 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.164e-06/1.038, allocations: 0 / 1.152 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.301e-05/1.038, allocations: 4 kB / 1.152 GB, free: 4.391 MB / 0.9044 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.003109/1.041, allocations: 1.418 MB / 1.154 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.042, allocations: 8.031 kB / 1.154 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/1.042, allocations: 139.2 kB / 1.154 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/1.044, allocations: 386.2 kB / 1.154 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.046, allocations: 0.7855 MB / 1.155 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/1.046, allocations: 62 kB / 1.155 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.046, allocations: 91.89 kB / 1.155 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/1.048, allocations: 1.034 MB / 1.156 GB, free: 352 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/1.048, allocations: 7.906 kB / 1.156 GB, free: 344 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/1.048, allocations: 36 kB / 1.156 GB, free: 308 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/1.048, allocations: 45.98 kB / 1.156 GB, free: 260 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/1.05, allocations: 0.8783 MB / 1.157 GB, free: 15.38 MB / 0.92 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.005573/1.055, allocations: 4.292 MB / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.056, allocations: 0.6874 MB / 1.162 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008888/1.057, allocations: 450.9 kB / 1.162 GB, free: 9.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/1.058, allocations: 0.6771 MB / 1.163 GB, free: 8.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.058, allocations: 43.12 kB / 1.163 GB, free: 8.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/1.058, allocations: 7.875 kB / 1.163 GB, free: 8.711 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.00207/1.06, allocations: 0.9939 MB / 1.164 GB, free: 7.711 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.06, allocations: 59.97 kB / 1.164 GB, free: 7.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/1.061, allocations: 0.6255 MB / 1.165 GB, free: 7.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/1.061, allocations: 41.7 kB / 1.165 GB, free: 6.961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/1.062, allocations: 432.1 kB / 1.165 GB, free: 6.531 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/1.062, allocations: 260.3 kB / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/1.062, allocations: 12 kB / 1.165 GB, free: 6.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.062, allocations: 390.7 kB / 1.166 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/1.063, allocations: 277.1 kB / 1.166 GB, free: 5.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/1.063, allocations: 357.1 kB / 1.166 GB, free: 5.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/1.064, allocations: 323.1 kB / 1.167 GB, free: 4.914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.064, allocations: 4 kB / 1.167 GB, free: 4.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001376/1.065, allocations: 0.7968 MB / 1.167 GB, free: 4.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.065, allocations: 5.094 kB / 1.167 GB, free: 4.102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.065, allocations: 4 kB / 1.167 GB, free: 4.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/1.065, allocations: 4 kB / 1.167 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/1.066, allocations: 139.8 kB / 1.168 GB, free: 3.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.066, allocations: 4 kB / 1.168 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/1.067, allocations: 119.5 kB / 1.168 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/1.067, allocations: 20 kB / 1.168 GB, free: 3.816 MB / 0.92 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.0005156/1.067, allocations: 297.4 kB / 1.168 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.068, allocations: 79.06 kB / 1.168 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/1.069, allocations: 0.8113 MB / 1.169 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.069, allocations: 4 kB / 1.169 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.069, allocations: 0 / 1.169 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/1.07, allocations: 0.8153 MB / 1.17 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/1.073, allocations: 1.852 MB / 1.172 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.073, allocations: 4 kB / 1.172 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.074, allocations: 167.8 kB / 1.172 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.074, allocations: 7.984 kB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/1.074, allocations: 12 kB / 1.172 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.074, allocations: 4 kB / 1.172 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.074, allocations: 0 / 1.172 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.076, allocations: 1.201 MB / 1.173 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/1.076, allocations: 243.9 kB / 1.173 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.076, allocations: 16 kB / 1.173 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/1.077, allocations: 72.72 kB / 1.173 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.077, allocations: 52.44 kB / 1.173 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/1.077, allocations: 23.98 kB / 1.173 GB, free: 14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005774/1.078, allocations: 447 kB / 1.174 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.078, allocations: 0 / 1.174 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008982/1.079, allocations: 339.2 kB / 1.174 GB, free: 13.24 MB / 0.9356 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.0023/1.081, allocations: 1.828 MB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001208/1.082, allocations: 0.6759 MB / 1.176 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.082, allocations: 0 / 1.176 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/1.083, allocations: 375 kB / 1.177 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/1.085, allocations: 0.5236 MB / 1.177 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/1.094, allocations: 5.825 MB / 1.183 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007512/1.095, allocations: 1.089 MB / 1.184 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001059/1.096, allocations: 227.2 kB / 1.184 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/1.097, allocations: 359.3 kB / 1.185 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/1.097, allocations: 0 / 1.185 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/1.146, allocations: 25.08 MB / 1.209 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/1.147, allocations: 189 kB / 1.209 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.552, allocations: 0 / 1.209 GB, free: 9.242 MB / 0.9669 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