Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",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.25/2.25, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001384/0.001384, allocations: 183.5 kB / 498.1 MB, free: 5.723 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.506/1.506, allocations: 223.2 MB / 0.7948 GB, free: 18.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.0008851, allocations: 100.2 kB / 0.9346 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 9.469 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2556, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.651/3.907, allocations: 1.923 GB / 3.146 GB, free: 56.38 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/3.907, allocations: 91.95 kB / 3.146 GB, free: 56.29 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.561/6.468, allocations: 0.8147 GB / 3.961 GB, free: 144 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/6.468, allocations: 0 / 3.961 GB, free: 144 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.948e-05/6.468, allocations: 32.17 kB / 3.961 GB, free: 144 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004639/6.473, allocations: 1.758 MB / 3.962 GB, free: 142.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/6.473, allocations: 8.031 kB / 3.962 GB, free: 142.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/6.473, allocations: 160 kB / 3.963 GB, free: 142 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/6.476, allocations: 430 kB / 3.963 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/6.477, allocations: 0.8829 MB / 3.964 GB, free: 140.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/6.477, allocations: 66 kB / 3.964 GB, free: 140.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/6.477, allocations: 111.8 kB / 3.964 GB, free: 140.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/6.479, allocations: 1.18 MB / 3.965 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/6.479, allocations: 3.938 kB / 3.965 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/6.479, allocations: 47.98 kB / 3.965 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/6.479, allocations: 49.94 kB / 3.965 GB, free: 139.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/6.481, allocations: 1.042 MB / 3.966 GB, free: 138.1 MB / 1.167 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.00462/6.485, allocations: 4.895 MB / 3.971 GB, free: 132.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/6.487, allocations: 0.9443 MB / 3.972 GB, free: 131.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/6.487, allocations: 0.6772 MB / 3.973 GB, free: 131 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/6.487, allocations: 51.17 kB / 3.973 GB, free: 130.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 2.866e-06/6.487, allocations: 0 / 3.973 GB, free: 130.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=83): time 0.003829/6.491, allocations: 2.296 MB / 3.975 GB, free: 128.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/6.491, allocations: 60.41 kB / 3.975 GB, free: 128.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/6.492, allocations: 0.5583 MB / 3.975 GB, free: 127.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/6.492, allocations: 41.7 kB / 3.976 GB, free: 127.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/6.492, allocations: 456.1 kB / 3.976 GB, free: 127.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/6.492, allocations: 291.7 kB / 3.976 GB, free: 127.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/6.492, allocations: 20 kB / 3.976 GB, free: 127.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.164e-05/6.492, allocations: 386.8 kB / 3.977 GB, free: 126.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/6.493, allocations: 317.8 kB / 3.977 GB, free: 126.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/6.493, allocations: 446 kB / 3.977 GB, free: 126 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/6.494, allocations: 378.8 kB / 3.978 GB, free: 125.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/6.494, allocations: 0 / 3.978 GB, free: 125.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001311/6.495, allocations: 0.9618 MB / 3.979 GB, free: 124.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/6.495, allocations: 4 kB / 3.979 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/6.495, allocations: 4 kB / 3.979 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/6.495, allocations: 65.08 kB / 3.979 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/6.496, allocations: 155.8 kB / 3.979 GB, free: 124.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003888/6.496, allocations: 0.642 MB / 3.98 GB, free: 123.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/6.497, allocations: 115.7 kB / 3.98 GB, free: 123.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/6.497, allocations: 24 kB / 3.98 GB, free: 123.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004916/6.498, allocations: 309.6 kB / 3.98 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/6.498, allocations: 86.97 kB / 3.98 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/6.499, allocations: 0.9211 MB / 3.981 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/6.499, allocations: 12 kB / 3.981 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/6.499, allocations: 0 / 3.981 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009629/6.5, allocations: 0.9274 MB / 3.982 GB, free: 121.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/6.503, allocations: 2.086 MB / 3.984 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/6.503, allocations: 3.984 kB / 3.984 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009058/6.504, allocations: 183.8 kB / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/6.504, allocations: 12.03 kB / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/6.504, allocations: 23.98 kB / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/6.504, allocations: 0 / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/6.504, allocations: 3.953 kB / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/6.506, allocations: 1.368 MB / 3.985 GB, free: 117.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/6.506, allocations: 256.1 kB / 3.986 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/6.506, allocations: 23.92 kB / 3.986 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/6.507, allocations: 79.78 kB / 3.986 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/6.507, allocations: 52.89 kB / 3.986 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/6.507, allocations: 23.98 kB / 3.986 GB, free: 117.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004405/6.508, allocations: 455 kB / 3.986 GB, free: 116.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.51e-07/6.508, allocations: 4 kB / 3.986 GB, free: 116.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00147/6.509, allocations: 0.5038 MB / 3.987 GB, free: 116.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.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 (83): * Single equations (assignments): 83 * 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.003915/6.513, allocations: 3.815 MB / 3.99 GB, free: 112.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00126/6.514, allocations: 0.8094 MB / 3.991 GB, free: 111.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/6.514, allocations: 0 / 3.991 GB, free: 111.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004729/6.515, allocations: 429.6 kB / 3.992 GB, free: 111 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/6.517, allocations: 0.5502 MB / 3.992 GB, free: 110.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/6.525, allocations: 7.407 MB / 3.999 GB, free: 102.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/6.525, allocations: 1.148 MB / 4.001 GB, free: 101.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000963/6.526, allocations: 251.8 kB / 4.001 GB, free: 101.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/6.526, allocations: 391.3 kB / 4.001 GB, free: 101 MB / 1.167 GB Notification: Performance of SimCode: time 1.032e-06/6.526, allocations: 0 / 4.001 GB, free: 101 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06771/6.594, allocations: 57.21 MB / 4.057 GB, free: 44.17 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001289/6.594, allocations: 207.1 kB / 4.057 GB, free: 43.91 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/10.38, allocations: 0 / 4.057 GB, free: 43.91 MB / 1.167 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat