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.578/2.578, allocations: 390.5 MB / 398 MB, free: 10.92 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.001194/0.001194, allocations: 168.9 kB / 491.2 MB, free: 1.555 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.84/1.84, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001146/0.001146, allocations: 91.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.666e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4359, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.218/6.654, allocations: 1.935 GB / 3.147 GB, free: 383.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/6.655, allocations: 87.95 kB / 3.147 GB, free: 383.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.767/13.42, allocations: 1.74 GB / 4.887 GB, free: 148.6 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.454e-06/13.42, allocations: 0 / 4.887 GB, free: 148.6 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0002481/13.42, allocations: 74.72 kB / 4.887 GB, free: 148.6 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.01683/13.44, allocations: 3.553 MB / 4.891 GB, free: 148.1 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/13.44, allocations: 11.34 kB / 4.891 GB, free: 148.1 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008343/13.45, allocations: 0.9034 MB / 4.892 GB, free: 147.9 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006751/13.45, allocations: 1.919 MB / 4.894 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/13.45, allocations: 85.94 kB / 4.894 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00078/13.46, allocations: 156.6 kB / 4.894 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006887/13.46, allocations: 2.998 MB / 4.897 GB, free: 147.5 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/13.47, allocations: 2.844 MB / 4.9 GB, free: 147.2 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.301e-05/13.47, allocations: 7.531 kB / 4.9 GB, free: 147.2 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/13.47, allocations: 4.031 kB / 4.9 GB, free: 147.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/13.47, allocations: 126 kB / 4.9 GB, free: 147.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.0184/13.49, allocations: 12.14 MB / 4.912 GB, free: 141.2 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004704/13.49, allocations: 3.796 MB / 4.915 GB, free: 140.1 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/13.49, allocations: 1.709 MB / 4.917 GB, free: 140.1 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/13.5, allocations: 1.497 MB / 4.918 GB, free: 138.5 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/13.5, allocations: 65.53 kB / 4.918 GB, free: 138.4 MB / 1.214 GB Notification: Performance of pre-optimization done (n=278): time 4.568e-06/13.5, allocations: 2.562 kB / 4.918 GB, free: 138.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=278): time 0.005998/13.5, allocations: 2.835 MB / 4.921 GB, free: 138.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/13.5, allocations: 79.84 kB / 4.921 GB, free: 138.1 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/13.5, allocations: 1.017 MB / 4.922 GB, free: 138 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/13.5, allocations: 29.64 kB / 4.922 GB, free: 137.9 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006561/13.5, allocations: 0.9804 MB / 4.923 GB, free: 137.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008552/13.51, allocations: 0.9117 MB / 4.924 GB, free: 137.2 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/13.51, allocations: 0 / 4.924 GB, free: 137.2 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001411/13.51, allocations: 400 kB / 4.925 GB, free: 136.9 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/13.51, allocations: 1.066 MB / 4.926 GB, free: 136.8 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/13.51, allocations: 1.355 MB / 4.927 GB, free: 136.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002921/13.51, allocations: 1.4 MB / 4.928 GB, free: 136.6 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/13.51, allocations: 2.406 kB / 4.928 GB, free: 136.6 MB / 1.214 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005574/13.52, allocations: 2.978 MB / 4.931 GB, free: 136.3 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/13.52, allocations: 8.25 kB / 4.931 GB, free: 136.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/13.52, allocations: 6.641 kB / 4.931 GB, free: 136.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/13.52, allocations: 17.97 kB / 4.931 GB, free: 136.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/13.52, allocations: 0.5286 MB / 4.932 GB, free: 136.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/13.52, allocations: 20.53 kB / 4.932 GB, free: 136.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/13.52, allocations: 331.8 kB / 4.932 GB, free: 136.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/13.52, allocations: 92.72 kB / 4.932 GB, free: 136.3 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.0004626/13.52, allocations: 142.7 kB / 4.932 GB, free: 136.2 MB / 1.214 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005627/13.53, allocations: 2.804 MB / 4.935 GB, free: 135.9 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/13.53, allocations: 222.4 kB / 4.935 GB, free: 135.8 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/13.54, allocations: 3.109 MB / 4.938 GB, free: 135.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/13.54, allocations: 29.05 kB / 4.938 GB, free: 135.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/13.54, allocations: 3.938 kB / 4.938 GB, free: 135.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004028/13.54, allocations: 2.709 MB / 4.941 GB, free: 135.4 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 postOpt removeSimpleEquations (simulation): time 0.01233/13.55, allocations: 6.316 MB / 4.947 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/13.55, allocations: 5.594 kB / 4.947 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/13.56, allocations: 0.5609 MB / 4.948 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.356e-05/13.56, allocations: 10.38 kB / 4.948 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000224/13.56, allocations: 36.27 kB / 4.948 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/13.56, allocations: 7.719 kB / 4.948 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/13.56, allocations: 3.953 kB / 4.948 GB, free: 134.7 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/13.56, allocations: 4.499 MB / 4.952 GB, free: 134.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/13.57, allocations: 0.616 MB / 4.953 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007741/13.57, allocations: 5.938 kB / 4.953 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003148/13.57, allocations: 189.6 kB / 4.953 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/13.57, allocations: 153.9 kB / 4.953 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/13.57, allocations: 93.22 kB / 4.953 GB, free: 134.1 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001519/13.57, allocations: 0.7799 MB / 4.954 GB, free: 134 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.51e-07/13.57, allocations: 0 / 4.954 GB, free: 134 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004556/13.58, allocations: 1.171 MB / 4.955 GB, free: 133.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.01528/13.59, allocations: 9.637 MB / 4.964 GB, free: 131.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.004702/13.6, allocations: 2.702 MB / 4.967 GB, free: 131 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/13.6, allocations: 0 / 4.967 GB, free: 131 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/13.6, allocations: 1.458 MB / 4.968 GB, free: 131 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007408/13.61, allocations: 1.124 MB / 4.97 GB, free: 131 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/13.62, allocations: 5.745 MB / 4.975 GB, free: 129.9 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/13.63, allocations: 1.949 MB / 4.977 GB, free: 129.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004604/13.63, allocations: 0.8588 MB / 4.978 GB, free: 129.1 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/13.63, allocations: 1.1 MB / 4.979 GB, free: 129.1 MB / 1.214 GB Notification: Performance of SimCode: time 2.144e-06/13.63, allocations: 0 / 4.979 GB, free: 129.1 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/13.77, allocations: 91.62 MB / 5.068 GB, free: 126 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/13.77, allocations: 149.8 kB / 5.069 GB, free: 125.8 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.373/19.14, allocations: 5.828 kB / 5.069 GB, free: 125.8 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