Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001471/0.00147, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.701/1.701, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001081/0.001081, allocations: 87.62 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.169e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3459, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.006/6.352, allocations: 1.935 GB / 3.154 GB, free: 323.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/6.353, allocations: 86.95 kB / 3.154 GB, free: 323.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.067/13.42, allocations: 1.758 GB / 4.912 GB, free: 149.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.463e-06/13.42, allocations: 3.281 kB / 4.912 GB, free: 149.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0001819/13.42, allocations: 71.25 kB / 4.913 GB, free: 149.4 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.01296/13.43, allocations: 3.552 MB / 4.916 GB, free: 148.5 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/13.43, allocations: 7.469 kB / 4.916 GB, free: 148.5 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00112/13.43, allocations: 372.3 kB / 4.916 GB, free: 148.5 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/13.44, allocations: 0.8979 MB / 4.917 GB, free: 148.3 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007697/13.45, allocations: 1.914 MB / 4.919 GB, free: 148 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/13.45, allocations: 198.3 kB / 4.919 GB, free: 148 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009841/13.45, allocations: 266 kB / 4.92 GB, free: 148 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00961/13.46, allocations: 3.211 MB / 4.923 GB, free: 147.6 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/13.46, allocations: 21.83 kB / 4.923 GB, free: 147.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000453/13.46, allocations: 104.2 kB / 4.923 GB, free: 147.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/13.46, allocations: 119.4 kB / 4.923 GB, free: 147.6 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008728/13.47, allocations: 3.311 MB / 4.926 GB, free: 147.6 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.02168/13.49, allocations: 12.35 MB / 4.938 GB, free: 141.5 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/13.5, allocations: 3.329 MB / 4.941 GB, free: 141 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/13.5, allocations: 1.759 MB / 4.943 GB, free: 140.9 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/13.5, allocations: 1.499 MB / 4.945 GB, free: 139.3 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/13.5, allocations: 65.69 kB / 4.945 GB, free: 139.3 MB / 1.214 GB Notification: Performance of pre-optimization done (n=278): time 4.117e-06/13.5, allocations: 2.469 kB / 4.945 GB, free: 139.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=278): time 0.004778/13.51, allocations: 2.723 MB / 4.947 GB, free: 139.1 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/13.51, allocations: 85.44 kB / 4.947 GB, free: 139 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/13.51, allocations: 1.181 MB / 4.949 GB, free: 138.8 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/13.51, allocations: 76.42 kB / 4.949 GB, free: 138.8 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/13.51, allocations: 0.9757 MB / 4.95 GB, free: 138.5 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008415/13.51, allocations: 0.9434 MB / 4.951 GB, free: 138 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/13.51, allocations: 47.56 kB / 4.951 GB, free: 138 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001307/13.51, allocations: 414.8 kB / 4.951 GB, free: 137.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/13.51, allocations: 1.053 MB / 4.952 GB, free: 137.7 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/13.51, allocations: 1.365 MB / 4.953 GB, free: 137.5 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/13.52, allocations: 1.259 MB / 4.955 GB, free: 137.4 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/13.52, allocations: 0 / 4.955 GB, free: 137.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004682/13.52, allocations: 2.91 MB / 4.957 GB, free: 137.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/13.52, allocations: 7.625 kB / 4.957 GB, free: 137.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/13.52, allocations: 3.75 kB / 4.957 GB, free: 137.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.78e-05/13.52, allocations: 17.91 kB / 4.957 GB, free: 137.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/13.52, allocations: 0.5128 MB / 4.958 GB, free: 137.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.455e-05/13.52, allocations: 21.69 kB / 4.958 GB, free: 137.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/13.53, allocations: 392.8 kB / 4.958 GB, free: 137.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/13.53, allocations: 84.36 kB / 4.958 GB, free: 137.1 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.0004637/13.53, allocations: 238.9 kB / 4.959 GB, free: 137 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/13.53, allocations: 227.3 kB / 4.959 GB, free: 136.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/13.53, allocations: 3.071 MB / 4.962 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/13.53, allocations: 25.72 kB / 4.962 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/13.53, allocations: 0 / 4.962 GB, free: 136.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003332/13.54, allocations: 2.601 MB / 4.964 GB, free: 136.5 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/13.55, allocations: 6.15 MB / 4.97 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/13.55, allocations: 3.75 kB / 4.97 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003873/13.55, allocations: 0.5491 MB / 4.971 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.586e-05/13.55, allocations: 10.66 kB / 4.971 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003007/13.55, allocations: 61.41 kB / 4.971 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/13.55, allocations: 10.53 kB / 4.971 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/13.55, allocations: 7.359 kB / 4.971 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009162/13.56, allocations: 4.461 MB / 4.975 GB, free: 135.6 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/13.57, allocations: 0.6176 MB / 4.976 GB, free: 135.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/13.57, allocations: 49.28 kB / 4.976 GB, free: 135.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/13.57, allocations: 227.8 kB / 4.976 GB, free: 135.3 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/13.57, allocations: 154.7 kB / 4.976 GB, free: 135.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/13.57, allocations: 85.86 kB / 4.977 GB, free: 135.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001307/13.57, allocations: 0.921 MB / 4.977 GB, free: 135.2 MB / 1.214 GB Notification: Performance of sort global known variables: time 4.51e-07/13.57, allocations: 0 / 4.977 GB, free: 135.2 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004047/13.57, allocations: 1.362 MB / 4.979 GB, free: 135.1 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.01509/13.59, allocations: 9.227 MB / 4.988 GB, free: 132.2 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005843/13.6, allocations: 2.696 MB / 4.99 GB, free: 132.2 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/13.6, allocations: 0 / 4.99 GB, free: 132.2 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/13.6, allocations: 1.455 MB / 4.992 GB, free: 132.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00671/13.6, allocations: 1.244 MB / 4.993 GB, free: 132.1 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/13.62, allocations: 5.883 MB / 4.999 GB, free: 131 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/13.62, allocations: 1.948 MB / 5.001 GB, free: 130.2 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.00374/13.62, allocations: 0.8533 MB / 5.002 GB, free: 130.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/13.62, allocations: 1.1 MB / 5.003 GB, free: 130.2 MB / 1.214 GB Notification: Performance of SimCode: time 2.294e-06/13.62, allocations: 3.406 kB / 5.003 GB, free: 130.2 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2073/13.83, allocations: 131.7 MB / 5.131 GB, free: 117.7 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/13.83, allocations: 175.3 kB / 5.131 GB, free: 117.4 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.375/20.21, allocations: 4 kB / 5.131 GB, free: 117.4 MB / 1.214 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat