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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001134/0.001134, allocations: 188.9 kB / 487.4 MB, free: 5.031 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.592/1.592, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.0009184/0.0009181, allocations: 111.1 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.862e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.187/5.452, allocations: 1.919 GB / 3.125 GB, free: 434.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/5.452, allocations: 89.58 kB / 3.125 GB, free: 434.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.875/7.327, allocations: 0.6599 GB / 3.785 GB, free: 206.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.402e-06/7.327, allocations: 0 / 3.785 GB, free: 206.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.242e-05/7.327, allocations: 32 kB / 3.785 GB, free: 206.8 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002856/7.33, allocations: 1.387 MB / 3.787 GB, free: 205.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/7.33, allocations: 8.031 kB / 3.787 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/7.333, allocations: 369.2 kB / 3.787 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/7.334, allocations: 0.846 MB / 3.788 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/7.334, allocations: 28 kB / 3.788 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/7.334, allocations: 48 kB / 3.788 GB, free: 204.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001079/7.335, allocations: 0.7458 MB / 3.789 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/7.336, allocations: 0.8796 MB / 3.789 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/7.336, allocations: 7.938 kB / 3.789 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/7.336, allocations: 4 kB / 3.789 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/7.336, allocations: 41.98 kB / 3.79 GB, free: 202.3 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.003634/7.34, allocations: 4.351 MB / 3.794 GB, free: 197.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007925/7.341, allocations: 0.6336 MB / 3.794 GB, free: 197 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/7.341, allocations: 434.2 kB / 3.795 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/7.342, allocations: 0.6727 MB / 3.795 GB, free: 195.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/7.342, allocations: 43.12 kB / 3.796 GB, free: 195.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/7.342, allocations: 0 / 3.796 GB, free: 195.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001228/7.343, allocations: 0.7249 MB / 3.796 GB, free: 195 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/7.343, allocations: 59.97 kB / 3.796 GB, free: 194.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/7.344, allocations: 491.7 kB / 3.797 GB, free: 194.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/7.344, allocations: 25.7 kB / 3.797 GB, free: 194.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/7.344, allocations: 428 kB / 3.797 GB, free: 194 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/7.344, allocations: 236.3 kB / 3.797 GB, free: 193.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/7.344, allocations: 0 / 3.797 GB, free: 193.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/7.344, allocations: 386.8 kB / 3.798 GB, free: 193.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/7.344, allocations: 269.5 kB / 3.798 GB, free: 193.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/7.345, allocations: 362.5 kB / 3.798 GB, free: 192.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/7.345, allocations: 336.4 kB / 3.799 GB, free: 192.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/7.345, allocations: 4 kB / 3.799 GB, free: 192.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001027/7.346, allocations: 0.7648 MB / 3.799 GB, free: 191.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/7.346, allocations: 4 kB / 3.799 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/7.346, allocations: 8.188 kB / 3.799 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/7.346, allocations: 4 kB / 3.799 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/7.347, allocations: 163.7 kB / 3.8 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/7.347, allocations: 4 kB / 3.8 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/7.348, allocations: 99.45 kB / 3.8 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/7.348, allocations: 27.66 kB / 3.8 GB, free: 191.3 MB / 1.151 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 () * 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.0001248/7.348, allocations: 116.8 kB / 3.8 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009786/7.349, allocations: 0.7093 MB / 3.801 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/7.349, allocations: 83.06 kB / 3.801 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/7.351, allocations: 0.7807 MB / 3.801 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/7.351, allocations: 8 kB / 3.801 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.351, allocations: 0 / 3.801 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008704/7.351, allocations: 0.8117 MB / 3.802 GB, free: 188.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/7.354, allocations: 1.754 MB / 3.804 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/7.354, allocations: 7.953 kB / 3.804 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/7.355, allocations: 171.8 kB / 3.804 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/7.355, allocations: 4 kB / 3.804 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/7.355, allocations: 8 kB / 3.804 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/7.355, allocations: 4 kB / 3.804 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/7.355, allocations: 0 / 3.804 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/7.356, allocations: 1.159 MB / 3.805 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/7.356, allocations: 248.1 kB / 3.805 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/7.356, allocations: 4 kB / 3.805 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/7.357, allocations: 63.72 kB / 3.806 GB, free: 185.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/7.357, allocations: 44.5 kB / 3.806 GB, free: 185.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/7.357, allocations: 23.98 kB / 3.806 GB, free: 185.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003438/7.358, allocations: 387.2 kB / 3.806 GB, free: 184.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/7.358, allocations: 0 / 3.806 GB, free: 184.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001029/7.359, allocations: 419.1 kB / 3.806 GB, free: 184.4 MB / 1.151 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 () * 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.003087/7.362, allocations: 3.368 MB / 3.81 GB, free: 181.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008323/7.363, allocations: 0.6663 MB / 3.81 GB, free: 180.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/7.363, allocations: 0 / 3.81 GB, free: 180.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003667/7.363, allocations: 362 kB / 3.811 GB, free: 180.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/7.365, allocations: 472.7 kB / 3.811 GB, free: 179.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/7.368, allocations: 1.973 MB / 3.813 GB, free: 177.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/7.369, allocations: 1.112 MB / 3.814 GB, free: 176.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008665/7.37, allocations: 226.8 kB / 3.814 GB, free: 176.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/7.37, allocations: 359.3 kB / 3.815 GB, free: 175.9 MB / 1.151 GB Notification: Performance of SimCode: time 4.6e-07/7.37, allocations: 4 kB / 3.815 GB, free: 175.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/7.424, allocations: 34.99 MB / 3.849 GB, free: 141.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/7.424, allocations: 143.3 kB / 3.849 GB, free: 141 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/10.61, allocations: 3.938 kB / 3.849 GB, free: 140.9 MB / 1.151 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