Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.001038/0.001038, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001213/0.001213, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.348 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.397/2.397, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.714/0.7144, allocations: 142.3 MB / 0.9538 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2061/0.9205, allocations: 185.9 MB / 1.135 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009616/0.9302, allocations: 5.977 MB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.9316, allocations: 27.81 kB / 1.141 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.9331, allocations: 497.1 kB / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.9387, allocations: 1.94 MB / 1.144 GB, free: 13.44 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.9404, allocations: 0.4957 MB / 1.144 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004898/0.9453, allocations: 4.027 MB / 1.148 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.9467, allocations: 0.8056 MB / 1.149 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.9492, allocations: 1.058 MB / 1.15 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.9511, allocations: 1.051 MB / 1.151 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.9512, allocations: 56 kB / 1.151 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.9548, allocations: 1.134 MB / 1.152 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.9553, allocations: 450.7 kB / 1.152 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.9559, allocations: 289.1 kB / 1.153 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.9584, allocations: 1.828 MB / 1.155 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.9585, allocations: 4 kB / 1.155 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9585, allocations: 0 / 1.155 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.9585, allocations: 0 / 1.155 GB, free: 2.215 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003522/0.962, allocations: 1.545 MB / 1.156 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.9621, allocations: 8.031 kB / 1.156 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002099/0.9623, allocations: 164.6 kB / 1.156 GB, free: 448 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.9643, allocations: 350.1 kB / 1.157 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.9656, allocations: 0.816 MB / 1.157 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.9657, allocations: 81.95 kB / 1.157 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.9658, allocations: 96 kB / 1.158 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.9678, allocations: 1.191 MB / 1.159 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.9678, allocations: 0 / 1.159 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.9679, allocations: 40 kB / 1.159 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.022e-05/0.968, allocations: 62.06 kB / 1.159 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.9698, allocations: 1.238 MB / 1.16 GB, free: 12.49 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.006147/0.976, allocations: 5.079 MB / 1.165 GB, free: 6.949 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.9775, allocations: 1.157 MB / 1.166 GB, free: 5.715 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.9782, allocations: 0.4973 MB / 1.167 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/0.9782, allocations: 20.59 kB / 1.167 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.979, allocations: 484.4 kB / 1.167 GB, free: 4.711 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.534e-06/0.979, allocations: 0 / 1.167 GB, free: 4.711 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.001963/0.9809, allocations: 1.157 MB / 1.168 GB, free: 3.547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.981, allocations: 60.06 kB / 1.168 GB, free: 3.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.9817, allocations: 0.5667 MB / 1.169 GB, free: 2.902 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.9818, allocations: 45.7 kB / 1.169 GB, free: 2.852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.9821, allocations: 467.5 kB / 1.169 GB, free: 2.387 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.9823, allocations: 264.1 kB / 1.17 GB, free: 2.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.9824, allocations: 16 kB / 1.17 GB, free: 2.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9826, allocations: 382.8 kB / 1.17 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.983, allocations: 329.8 kB / 1.17 GB, free: 1.402 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.9836, allocations: 448.7 kB / 1.171 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.9841, allocations: 399.1 kB / 1.171 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9842, allocations: 0 / 1.171 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001337/0.9855, allocations: 0.9179 MB / 1.172 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.9855, allocations: 8.344 kB / 1.172 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9855, allocations: 8 kB / 1.172 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9856, allocations: 4 kB / 1.172 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.9862, allocations: 159.7 kB / 1.172 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.9863, allocations: 7.953 kB / 1.172 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009535/0.9872, allocations: 159.3 kB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.9873, allocations: 24 kB / 1.172 GB, free: 15.25 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005183/0.9878, allocations: 345.4 kB / 1.173 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.9879, allocations: 79.06 kB / 1.173 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.9882, allocations: 107.7 kB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.9882, allocations: 8 kB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.9882, allocations: 0 / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/0.9894, allocations: 1.089 MB / 1.174 GB, free: 13.53 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.003237/0.9927, allocations: 2.317 MB / 1.176 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9927, allocations: 0 / 1.176 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.9935, allocations: 175.8 kB / 1.176 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.9935, allocations: 8.031 kB / 1.176 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.9936, allocations: 16 kB / 1.176 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.9936, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9936, allocations: 0 / 1.176 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.9954, allocations: 1.35 MB / 1.178 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/0.9959, allocations: 255.9 kB / 1.178 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.996, allocations: 19.94 kB / 1.178 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/0.9968, allocations: 98 kB / 1.178 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.9969, allocations: 48.59 kB / 1.178 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.9969, allocations: 23.98 kB / 1.178 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005172/0.9975, allocations: 407.1 kB / 1.178 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9975, allocations: 0 / 1.178 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009886/0.9985, allocations: 367.1 kB / 1.179 GB, free: 8.344 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002256/1.001, allocations: 1.961 MB / 1.181 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.002, allocations: 0.798 MB / 1.181 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.002, allocations: 0 / 1.181 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/1.003, allocations: 427.5 kB / 1.182 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.005, allocations: 0.5698 MB / 1.182 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008948/1.014, allocations: 5.881 MB / 1.188 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/1.015, allocations: 1.136 MB / 1.189 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001162/1.016, allocations: 279.1 kB / 1.19 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/1.016, allocations: 383.2 kB / 1.19 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of SimCode: time 1.803e-06/1.017, allocations: 0 / 1.19 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04955/1.066, allocations: 25.87 MB / 1.215 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.066, allocations: 176.2 kB / 1.215 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.321, allocations: 4 kB / 1.215 GB, free: 3.004 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat does not exist to compare? outputFormat=mat