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.298/2.298, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.00136/0.00136, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.749/1.749, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009761/0.0009762, allocations: 103.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.212e-05, allocations: 6.031 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4126, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.039/6.451, allocations: 1.934 GB / 3.14 GB, free: 348.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/6.452, allocations: 100.1 kB / 3.14 GB, free: 348.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.249/12.7, allocations: 1.74 GB / 4.88 GB, free: 144.3 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.743e-06/12.7, allocations: 0 / 4.88 GB, free: 144.3 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002178/12.7, allocations: 74.86 kB / 4.88 GB, free: 144.3 MB / 1.198 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.0144/12.72, allocations: 3.557 MB / 4.884 GB, free: 143.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/12.72, allocations: 7.5 kB / 4.884 GB, free: 143.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007308/12.72, allocations: 0.8953 MB / 4.885 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/12.73, allocations: 1.914 MB / 4.886 GB, free: 143.1 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/12.73, allocations: 83.06 kB / 4.887 GB, free: 143.1 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/12.73, allocations: 156.6 kB / 4.887 GB, free: 143.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004824/12.73, allocations: 3.001 MB / 4.89 GB, free: 143 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004485/12.74, allocations: 2.853 MB / 4.892 GB, free: 142.7 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.919e-05/12.74, allocations: 10.84 kB / 4.892 GB, free: 142.7 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/12.74, allocations: 4.156 kB / 4.892 GB, free: 142.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/12.74, allocations: 124 kB / 4.893 GB, free: 142.7 MB / 1.198 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.01494/12.75, allocations: 12.12 MB / 4.904 GB, free: 136.7 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004052/12.76, allocations: 3.81 MB / 4.908 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/12.76, allocations: 1.715 MB / 4.91 GB, free: 135.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/12.76, allocations: 1.496 MB / 4.911 GB, free: 134 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/12.76, allocations: 63.84 kB / 4.911 GB, free: 133.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 5.491e-06/12.76, allocations: 0 / 4.911 GB, free: 133.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.005228/12.77, allocations: 2.841 MB / 4.914 GB, free: 133.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/12.77, allocations: 78.5 kB / 4.914 GB, free: 133.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/12.77, allocations: 1.016 MB / 4.915 GB, free: 133.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/12.77, allocations: 29.2 kB / 4.915 GB, free: 133.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006172/12.77, allocations: 0.9783 MB / 4.916 GB, free: 133.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007692/12.77, allocations: 0.908 MB / 4.917 GB, free: 132.7 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/12.77, allocations: 0 / 4.917 GB, free: 132.7 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001429/12.77, allocations: 403.6 kB / 4.917 GB, free: 132.4 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/12.77, allocations: 1.074 MB / 4.918 GB, free: 132.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/12.77, allocations: 1.348 MB / 4.92 GB, free: 132.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/12.77, allocations: 1.401 MB / 4.921 GB, free: 132.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/12.77, allocations: 3.375 kB / 4.921 GB, free: 132.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005777/12.78, allocations: 2.976 MB / 4.924 GB, free: 131.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/12.78, allocations: 5.688 kB / 4.924 GB, free: 131.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/12.78, allocations: 3.375 kB / 4.924 GB, free: 131.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/12.78, allocations: 15.31 kB / 4.924 GB, free: 131.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/12.78, allocations: 0.5384 MB / 4.925 GB, free: 131.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/12.78, allocations: 22.25 kB / 4.925 GB, free: 131.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/12.79, allocations: 323 kB / 4.925 GB, free: 131.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/12.79, allocations: 91.56 kB / 4.925 GB, free: 131.8 MB / 1.198 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.0004398/12.79, allocations: 144.8 kB / 4.925 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005026/12.79, allocations: 2.8 MB / 4.928 GB, free: 131.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/12.79, allocations: 224.6 kB / 4.928 GB, free: 131.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00525/12.8, allocations: 3.108 MB / 4.931 GB, free: 131.2 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/12.8, allocations: 29.61 kB / 4.931 GB, free: 131.2 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/12.8, allocations: 0 / 4.931 GB, free: 131.2 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004016/12.8, allocations: 2.72 MB / 4.934 GB, free: 130.9 MB / 1.198 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.01077/12.81, allocations: 6.312 MB / 4.94 GB, free: 130.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/12.81, allocations: 6.25 kB / 4.94 GB, free: 130.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/12.82, allocations: 0.561 MB / 4.941 GB, free: 130.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-05/12.82, allocations: 13.86 kB / 4.941 GB, free: 130.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/12.82, allocations: 38.42 kB / 4.941 GB, free: 130.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/12.82, allocations: 10.56 kB / 4.941 GB, free: 130.2 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/12.82, allocations: 3.953 kB / 4.941 GB, free: 130.2 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/12.82, allocations: 4.494 MB / 4.945 GB, free: 129.8 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/12.82, allocations: 0.6173 MB / 4.946 GB, free: 129.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/12.82, allocations: 7.938 kB / 4.946 GB, free: 129.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/12.83, allocations: 185.7 kB / 4.946 GB, free: 129.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/12.83, allocations: 157.6 kB / 4.946 GB, free: 129.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/12.83, allocations: 89.94 kB / 4.946 GB, free: 129.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.00117/12.83, allocations: 0.7792 MB / 4.947 GB, free: 129.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.5e-07/12.83, allocations: 0 / 4.947 GB, free: 129.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.003504/12.83, allocations: 1.176 MB / 4.948 GB, free: 129.3 MB / 1.198 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.0129/12.85, allocations: 9.64 MB / 4.957 GB, free: 126.5 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004477/12.85, allocations: 2.695 MB / 4.96 GB, free: 126.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/12.85, allocations: 2.625 kB / 4.96 GB, free: 126.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/12.85, allocations: 1.46 MB / 4.961 GB, free: 126.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006998/12.86, allocations: 1.119 MB / 4.962 GB, free: 126.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/12.87, allocations: 5.738 MB / 4.968 GB, free: 125.3 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/12.87, allocations: 1.952 MB / 4.97 GB, free: 124.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003935/12.88, allocations: 0.856 MB / 4.971 GB, free: 124.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/12.88, allocations: 1.095 MB / 4.972 GB, free: 124.5 MB / 1.198 GB Notification: Performance of SimCode: time 8.42e-07/12.88, allocations: 0 / 4.972 GB, free: 124.5 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/13.03, allocations: 91.63 MB / 5.061 GB, free: 120.9 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/13.03, allocations: 147.1 kB / 5.062 GB, free: 120.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.438/18.47, allocations: 0 / 5.062 GB, free: 120.8 MB / 1.198 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