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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001331/0.001331, allocations: 180.6 kB / 487.4 MB, free: 5.055 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.667/1.667, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009632/0.0009631, allocations: 103 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.125e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3517, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.288/6.64, allocations: 1.921 GB / 3.128 GB, free: 430.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.64, allocations: 91.94 kB / 3.128 GB, free: 430.6 MB / 1.151 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: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 1.935/8.576, allocations: 0.6091 GB / 3.737 GB, free: 245.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.836e-06/8.576, allocations: 3.984 kB / 3.737 GB, free: 245.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.217e-05/8.576, allocations: 32.03 kB / 3.737 GB, free: 245.2 MB / 1.151 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.004601/8.58, allocations: 1.545 MB / 3.738 GB, free: 243.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.528e-05/8.58, allocations: 8.031 kB / 3.738 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/8.583, allocations: 338.1 kB / 3.739 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/8.584, allocations: 0.8577 MB / 3.739 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/8.584, allocations: 32 kB / 3.739 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/8.584, allocations: 67.95 kB / 3.74 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001494/8.586, allocations: 0.9842 MB / 3.74 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/8.587, allocations: 0.9606 MB / 3.741 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/8.587, allocations: 0 / 3.741 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/8.588, allocations: 0 / 3.741 GB, free: 240.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-05/8.588, allocations: 66.06 kB / 3.741 GB, free: 240.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005421/8.593, allocations: 4.865 MB / 3.746 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/8.595, allocations: 3.399 MB / 3.75 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/8.596, allocations: 451.3 kB / 3.75 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/8.596, allocations: 19.97 kB / 3.75 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005826/8.596, allocations: 396.5 kB / 3.75 GB, free: 230.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 4.188e-06/8.596, allocations: 0 / 3.75 GB, free: 230.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001291/8.598, allocations: 0.7062 MB / 3.751 GB, free: 229.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/8.598, allocations: 64.19 kB / 3.751 GB, free: 229.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/8.598, allocations: 414.4 kB / 3.752 GB, free: 229 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/8.598, allocations: 25.7 kB / 3.752 GB, free: 228.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/8.599, allocations: 467.4 kB / 3.752 GB, free: 228.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/8.599, allocations: 256.1 kB / 3.752 GB, free: 228.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/8.599, allocations: 0 / 3.752 GB, free: 228.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001282/8.599, allocations: 382.7 kB / 3.753 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/8.599, allocations: 269.5 kB / 3.753 GB, free: 227.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/8.6, allocations: 369.2 kB / 3.753 GB, free: 227.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/8.6, allocations: 340.4 kB / 3.754 GB, free: 226.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/8.6, allocations: 0 / 3.754 GB, free: 226.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001013/8.601, allocations: 0.7611 MB / 3.754 GB, free: 226.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/8.601, allocations: 7.938 kB / 3.754 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/8.601, allocations: 7.984 kB / 3.754 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/8.601, allocations: 10.84 kB / 3.754 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/8.602, allocations: 159.8 kB / 3.754 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/8.602, allocations: 4 kB / 3.754 GB, free: 225.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/8.603, allocations: 139.4 kB / 3.755 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/8.603, allocations: 24 kB / 3.755 GB, free: 225.7 MB / 1.151 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 () * 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.0001763/8.603, allocations: 126.1 kB / 3.755 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009423/8.604, allocations: 0.683 MB / 3.755 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/8.604, allocations: 75.16 kB / 3.755 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/8.605, allocations: 87.55 kB / 3.756 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/8.605, allocations: 12 kB / 3.756 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/8.605, allocations: 0 / 3.756 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000923/8.606, allocations: 0.9631 MB / 3.757 GB, free: 223.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003095/8.609, allocations: 2.497 MB / 3.759 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/8.609, allocations: 4 kB / 3.759 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/8.61, allocations: 171.8 kB / 3.759 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/8.61, allocations: 4 kB / 3.759 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/8.61, allocations: 11.98 kB / 3.759 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/8.61, allocations: 0 / 3.759 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/8.61, allocations: 11.97 kB / 3.759 GB, free: 220.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/8.611, allocations: 1.153 MB / 3.76 GB, free: 219.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/8.611, allocations: 240.1 kB / 3.761 GB, free: 219.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/8.611, allocations: 4 kB / 3.761 GB, free: 219.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/8.612, allocations: 95.75 kB / 3.761 GB, free: 219.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/8.612, allocations: 40.72 kB / 3.761 GB, free: 219.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/8.612, allocations: 31.98 kB / 3.761 GB, free: 219.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003493/8.613, allocations: 322.9 kB / 3.761 GB, free: 218.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.613, allocations: 0 / 3.761 GB, free: 218.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001211/8.614, allocations: 446.9 kB / 3.761 GB, free: 218.5 MB / 1.151 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 () * 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.003356/8.617, allocations: 3.467 MB / 3.765 GB, free: 215.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008676/8.618, allocations: 0.6493 MB / 3.765 GB, free: 214.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/8.618, allocations: 0 / 3.765 GB, free: 214.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003363/8.619, allocations: 359.5 kB / 3.766 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/8.621, allocations: 0.4925 MB / 3.766 GB, free: 213.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/8.624, allocations: 1.94 MB / 3.768 GB, free: 211.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/8.625, allocations: 1.155 MB / 3.769 GB, free: 210.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008803/8.626, allocations: 250.6 kB / 3.77 GB, free: 210.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/8.626, allocations: 375.3 kB / 3.77 GB, free: 209.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/8.626, allocations: 0 / 3.77 GB, free: 209.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/8.686, allocations: 35.57 MB / 3.805 GB, free: 174.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/8.687, allocations: 129.4 kB / 3.805 GB, free: 174.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/11.85, allocations: 0 / 3.805 GB, free: 174.2 MB / 1.151 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