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.000995/0.000995, allocations: 99 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.0009071/0.0009072, allocations: 177.3 kB / 15.94 MB, free: 220 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.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.479/2.479, allocations: 390.3 MB / 0.6653 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 15.98 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8004, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2143/1.015, allocations: 168.8 MB / 1.118 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01102/1.026, allocations: 6.518 MB / 1.125 GB, free: 484 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/1.027, allocations: 31.81 kB / 1.125 GB, free: 452 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/1.029, allocations: 0.6689 MB / 1.125 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006457/1.036, allocations: 2.072 MB / 1.127 GB, free: 13.7 MB / 0.8887 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.00257/1.039, allocations: 0.7969 MB / 1.128 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003503/1.042, allocations: 1.851 MB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/1.043, allocations: 0.8135 MB / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002831/1.046, allocations: 1.141 MB / 1.132 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/1.048, allocations: 0.6616 MB / 1.133 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/1.048, allocations: 56 kB / 1.133 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/1.05, allocations: 0.862 MB / 1.134 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/1.051, allocations: 399 kB / 1.134 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/1.051, allocations: 293.1 kB / 1.134 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/1.053, allocations: 1.64 MB / 1.136 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.053, allocations: 0 / 1.136 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.026e-06/1.053, allocations: 4 kB / 1.136 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.053, allocations: 0 / 1.136 GB, free: 5.172 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003897/1.057, allocations: 1.478 MB / 1.137 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.057, allocations: 15.95 kB / 1.137 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002332/1.058, allocations: 164.5 kB / 1.137 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/1.06, allocations: 350.1 kB / 1.138 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/1.061, allocations: 0.816 MB / 1.139 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/1.062, allocations: 81.95 kB / 1.139 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.062, allocations: 104 kB / 1.139 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/1.064, allocations: 1.179 MB / 1.14 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/1.064, allocations: 0 / 1.14 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.064, allocations: 40 kB / 1.14 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-05/1.064, allocations: 62.06 kB / 1.14 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/1.066, allocations: 1.234 MB / 1.141 GB, free: 15.51 MB / 0.9044 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.007023/1.073, allocations: 5.075 MB / 1.146 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/1.074, allocations: 1.153 MB / 1.147 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-05/1.074, allocations: 16.64 kB / 1.147 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007203/1.075, allocations: 488.2 kB / 1.148 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/1.075, allocations: 4 kB / 1.148 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.001935/1.077, allocations: 1.153 MB / 1.149 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/1.077, allocations: 68.02 kB / 1.149 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/1.078, allocations: 0.5666 MB / 1.149 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/1.078, allocations: 37.7 kB / 1.149 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/1.078, allocations: 463.6 kB / 1.15 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/1.078, allocations: 268.1 kB / 1.15 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/1.078, allocations: 20 kB / 1.15 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.079, allocations: 382.8 kB / 1.151 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/1.079, allocations: 337.8 kB / 1.151 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/1.08, allocations: 444.8 kB / 1.151 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/1.08, allocations: 403 kB / 1.152 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.08, allocations: 0 / 1.152 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001288/1.082, allocations: 0.9257 MB / 1.153 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.082, allocations: 8 kB / 1.153 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.082, allocations: 4 kB / 1.153 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.082, allocations: 8 kB / 1.153 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/1.082, allocations: 155.8 kB / 1.153 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.082, allocations: 12.3 kB / 1.153 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.083, allocations: 155.3 kB / 1.153 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/1.083, allocations: 24 kB / 1.153 GB, free: 2.758 MB / 0.9044 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.0005195/1.084, allocations: 333.5 kB / 1.153 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/1.084, allocations: 83.05 kB / 1.153 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/1.084, allocations: 115.7 kB / 1.153 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/1.084, allocations: 11.94 kB / 1.153 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.084, allocations: 0 / 1.153 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/1.086, allocations: 1.101 MB / 1.155 GB, free: 1.023 MB / 0.9044 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.003293/1.089, allocations: 2.266 MB / 1.157 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.089, allocations: 4.031 kB / 1.157 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/1.09, allocations: 175.7 kB / 1.157 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.09, allocations: 4 kB / 1.157 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/1.09, allocations: 19.98 kB / 1.157 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.09, allocations: 4 kB / 1.157 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.09, allocations: 0 / 1.157 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/1.091, allocations: 1.371 MB / 1.158 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/1.092, allocations: 244 kB / 1.159 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.092, allocations: 19.98 kB / 1.159 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/1.093, allocations: 98.05 kB / 1.159 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/1.093, allocations: 44.59 kB / 1.159 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/1.093, allocations: 23.98 kB / 1.159 GB, free: 12.64 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004613/1.094, allocations: 407.1 kB / 1.159 GB, free: 12.24 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.094, allocations: 4 kB / 1.159 GB, free: 12.24 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009502/1.094, allocations: 375 kB / 1.159 GB, free: 11.87 MB / 0.92 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.002122/1.097, allocations: 2.044 MB / 1.161 GB, free: 9.789 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00116/1.098, allocations: 0.7987 MB / 1.162 GB, free: 8.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.098, allocations: 4.062 kB / 1.162 GB, free: 8.984 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005042/1.098, allocations: 423.5 kB / 1.163 GB, free: 8.574 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.101, allocations: 0.5498 MB / 1.163 GB, free: 8.031 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008702/1.109, allocations: 7.486 MB / 1.17 GB, free: 444 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/1.11, allocations: 1.159 MB / 1.172 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001072/1.111, allocations: 275.1 kB / 1.172 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/1.112, allocations: 383.3 kB / 1.172 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/1.112, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04715/1.159, allocations: 25.81 MB / 1.197 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/1.159, allocations: 182.7 kB / 1.198 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.426, allocations: 0 / 1.198 GB, free: 4.875 MB / 0.9512 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