Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.636/2.636, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001104/0.001104, allocations: 169 kB / 492.3 MB, free: 0.5977 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.657/1.657, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009783/0.0009783, allocations: 97.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.776e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.883/6.205, allocations: 1.934 GB / 3.147 GB, free: 395.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/6.205, allocations: 88.83 kB / 3.147 GB, free: 395.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.563/12.77, allocations: 1.758 GB / 4.905 GB, free: 146.8 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.044e-06/12.77, allocations: 0 / 4.905 GB, free: 146.8 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0003989/12.77, allocations: 80.42 kB / 4.905 GB, free: 146.8 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01645/12.78, allocations: 3.551 MB / 4.909 GB, free: 146.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/12.78, allocations: 11 kB / 4.909 GB, free: 146.2 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/12.79, allocations: 366.8 kB / 4.909 GB, free: 146.1 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008234/12.8, allocations: 0.9036 MB / 4.91 GB, free: 145.9 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006816/12.8, allocations: 1.912 MB / 4.912 GB, free: 145.6 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/12.8, allocations: 199.5 kB / 4.912 GB, free: 145.6 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/12.8, allocations: 264.5 kB / 4.912 GB, free: 145.6 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/12.81, allocations: 3.217 MB / 4.916 GB, free: 145.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001755/12.81, allocations: 6.312 kB / 4.916 GB, free: 145.3 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008957/12.82, allocations: 103 kB / 4.916 GB, free: 145.3 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/12.82, allocations: 127.7 kB / 4.916 GB, free: 145.3 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007942/12.82, allocations: 3.323 MB / 4.919 GB, free: 145.2 MB / 1.214 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.02365/12.85, allocations: 12.34 MB / 4.931 GB, free: 139.2 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006377/12.85, allocations: 3.326 MB / 4.934 GB, free: 138.6 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/12.86, allocations: 1.769 MB / 4.936 GB, free: 138.6 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/12.86, allocations: 1.488 MB / 4.938 GB, free: 137 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.561e-05/12.86, allocations: 67.78 kB / 4.938 GB, free: 137 MB / 1.214 GB Notification: Performance of pre-optimization done (n=278): time 4.398e-06/12.86, allocations: 6.688 kB / 4.938 GB, free: 137 MB / 1.214 GB Notification: Performance of matching and sorting (n=278): time 0.006473/12.86, allocations: 2.719 MB / 4.94 GB, free: 136.7 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/12.86, allocations: 82.62 kB / 4.94 GB, free: 136.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/12.87, allocations: 1.181 MB / 4.941 GB, free: 136.5 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0003867/12.87, allocations: 73.3 kB / 4.942 GB, free: 136.5 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/12.87, allocations: 0.9826 MB / 4.943 GB, free: 136.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/12.87, allocations: 0.9522 MB / 4.943 GB, free: 135.7 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/12.87, allocations: 51.86 kB / 4.943 GB, free: 135.7 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002258/12.87, allocations: 397.4 kB / 4.944 GB, free: 135.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/12.87, allocations: 1.057 MB / 4.945 GB, free: 135.4 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/12.87, allocations: 1.361 MB / 4.946 GB, free: 135.1 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/12.88, allocations: 1.265 MB / 4.947 GB, free: 135.1 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/12.88, allocations: 2.156 kB / 4.947 GB, free: 135.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005115/12.88, allocations: 2.908 MB / 4.95 GB, free: 134.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/12.88, allocations: 6.656 kB / 4.95 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/12.88, allocations: 3.781 kB / 4.95 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.126e-05/12.88, allocations: 17.81 kB / 4.95 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/12.88, allocations: 0.5166 MB / 4.951 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.055e-05/12.88, allocations: 17.72 kB / 4.951 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/12.89, allocations: 387.3 kB / 4.951 GB, free: 134.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/12.89, allocations: 82.06 kB / 4.951 GB, free: 134.8 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0005961/12.89, allocations: 240.2 kB / 4.952 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009817/12.89, allocations: 235.9 kB / 4.952 GB, free: 134.6 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00584/12.9, allocations: 3.058 MB / 4.955 GB, free: 134.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/12.9, allocations: 25.91 kB / 4.955 GB, free: 134.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/12.9, allocations: 0 / 4.955 GB, free: 134.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004091/12.9, allocations: 2.599 MB / 4.957 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/12.91, allocations: 6.165 MB / 4.963 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/12.91, allocations: 5.281 kB / 4.963 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/12.91, allocations: 0.5477 MB / 4.964 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-05/12.91, allocations: 7.75 kB / 4.964 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/12.92, allocations: 65.42 kB / 4.964 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.366e-05/12.92, allocations: 10.72 kB / 4.964 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/12.92, allocations: 0 / 4.964 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007021/12.92, allocations: 4.47 MB / 4.968 GB, free: 133.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/12.92, allocations: 0.6155 MB / 4.969 GB, free: 133.1 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007738/12.93, allocations: 48.78 kB / 4.969 GB, free: 133.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/12.93, allocations: 229.1 kB / 4.969 GB, free: 133.1 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/12.93, allocations: 153.5 kB / 4.969 GB, free: 133.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/12.93, allocations: 89.08 kB / 4.969 GB, free: 133.1 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001915/12.93, allocations: 0.9108 MB / 4.97 GB, free: 132.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.5e-07/12.93, allocations: 0 / 4.97 GB, free: 132.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.005434/12.94, allocations: 1.364 MB / 4.972 GB, free: 132.9 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (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,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.01499/12.95, allocations: 9.228 MB / 4.981 GB, free: 130.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005596/12.96, allocations: 2.701 MB / 4.983 GB, free: 130 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/12.96, allocations: 2.953 kB / 4.983 GB, free: 130 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/12.96, allocations: 1.454 MB / 4.985 GB, free: 130 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007767/12.97, allocations: 1.247 MB / 4.986 GB, free: 130 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/12.98, allocations: 5.88 MB / 4.992 GB, free: 128.8 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/12.99, allocations: 1.952 MB / 4.994 GB, free: 128.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004634/12.99, allocations: 0.8465 MB / 4.994 GB, free: 128.1 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/12.99, allocations: 1.099 MB / 4.995 GB, free: 128 MB / 1.214 GB Notification: Performance of SimCode: time 2.354e-06/12.99, allocations: 0 / 4.995 GB, free: 128 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/13.21, allocations: 131.7 MB / 5.124 GB, free: 123.8 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002907/13.21, allocations: 160.9 kB / 5.124 GB, free: 123.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/19.92, allocations: 3.938 kB / 5.124 GB, free: 123.6 MB / 1.214 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat