Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",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.526/2.526, allocations: 390.5 MB / 398 MB, free: 10.94 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.00115/0.00115, allocations: 194.4 kB / 491.2 MB, free: 1.535 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.525/1.525, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009166/0.0009167, allocations: 87.83 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.772e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2782, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.147/5.425, allocations: 1.923 GB / 3.135 GB, free: 344.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/5.426, allocations: 86.61 kB / 3.135 GB, free: 344.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.321/8.747, allocations: 0.8055 GB / 3.941 GB, free: 223.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.043e-06/8.747, allocations: 0 / 3.941 GB, free: 223.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002163/8.747, allocations: 32.09 kB / 3.941 GB, free: 223.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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.007811/8.755, allocations: 1.59 MB / 3.943 GB, free: 223.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/8.755, allocations: 9.625 kB / 3.943 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/8.759, allocations: 420.9 kB / 3.943 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/8.763, allocations: 0.886 MB / 3.944 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/8.763, allocations: 29.94 kB / 3.944 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000719/8.764, allocations: 62.28 kB / 3.944 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003423/8.767, allocations: 0.8906 MB / 3.945 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/8.772, allocations: 1.027 MB / 3.946 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/8.772, allocations: 1.281 kB / 3.946 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/8.772, allocations: 2.25 kB / 3.946 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.25e-05/8.772, allocations: 52.45 kB / 3.946 GB, free: 223 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.007673/8.78, allocations: 4.817 MB / 3.951 GB, free: 220.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/8.781, allocations: 0.921 MB / 3.951 GB, free: 220 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009995/8.782, allocations: 0.5539 MB / 3.952 GB, free: 220 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/8.783, allocations: 0.6813 MB / 3.953 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/8.783, allocations: 45.06 kB / 3.953 GB, free: 219.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 5.48e-06/8.783, allocations: 1.281 kB / 3.953 GB, free: 219.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.005156/8.788, allocations: 2.035 MB / 3.955 GB, free: 218.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/8.788, allocations: 61.25 kB / 3.955 GB, free: 218.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006988/8.789, allocations: 494.1 kB / 3.955 GB, free: 218.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/8.789, allocations: 28.89 kB / 3.955 GB, free: 218.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/8.789, allocations: 452 kB / 3.956 GB, free: 218.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/8.789, allocations: 280.2 kB / 3.956 GB, free: 218.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/8.789, allocations: 0 / 3.956 GB, free: 218.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000137/8.79, allocations: 393.2 kB / 3.956 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/8.79, allocations: 331.6 kB / 3.957 GB, free: 217.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/8.791, allocations: 459.3 kB / 3.957 GB, free: 217.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/8.791, allocations: 399.7 kB / 3.957 GB, free: 217.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/8.791, allocations: 1.25 kB / 3.957 GB, free: 217.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001813/8.793, allocations: 0.9545 MB / 3.958 GB, free: 217.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/8.793, allocations: 5 kB / 3.958 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/8.793, allocations: 5.062 kB / 3.958 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/8.793, allocations: 52.72 kB / 3.958 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/8.794, allocations: 164.6 kB / 3.959 GB, free: 217.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/8.795, allocations: 0.618 MB / 3.959 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/8.796, allocations: 93.81 kB / 3.959 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/8.796, allocations: 32.12 kB / 3.959 GB, free: 217.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001905/8.796, allocations: 117.9 kB / 3.959 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00158/8.798, allocations: 0.862 MB / 3.96 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/8.798, allocations: 82.06 kB / 3.96 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/8.8, allocations: 0.9514 MB / 3.961 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/8.8, allocations: 7.344 kB / 3.961 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/8.8, allocations: 6.547 kB / 3.961 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/8.801, allocations: 0.9649 MB / 3.962 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/8.805, allocations: 2.078 MB / 3.964 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/8.805, allocations: 1.031 kB / 3.964 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/8.806, allocations: 202.9 kB / 3.964 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/8.806, allocations: 6.984 kB / 3.964 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/8.806, allocations: 12.03 kB / 3.964 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/8.806, allocations: 6.438 kB / 3.964 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/8.806, allocations: 0 / 3.964 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/8.808, allocations: 1.377 MB / 3.966 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/8.809, allocations: 259.3 kB / 3.966 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/8.809, allocations: 7.453 kB / 3.966 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008932/8.81, allocations: 80.91 kB / 3.966 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/8.81, allocations: 43.89 kB / 3.966 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/8.81, allocations: 33.42 kB / 3.966 GB, free: 215.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005702/8.811, allocations: 381.7 kB / 3.967 GB, free: 215.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/8.811, allocations: 0 / 3.967 GB, free: 215.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001838/8.812, allocations: 430.6 kB / 3.967 GB, free: 215.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.005065/8.817, allocations: 4.05 MB / 3.971 GB, free: 214.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001395/8.819, allocations: 0.8339 MB / 3.972 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/8.819, allocations: 0 / 3.972 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006029/8.82, allocations: 453 kB / 3.972 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/8.823, allocations: 0.5083 MB / 3.973 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/8.827, allocations: 2.133 MB / 3.975 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/8.828, allocations: 1.146 MB / 3.976 GB, free: 213.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001384/8.829, allocations: 267.2 kB / 3.976 GB, free: 213.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/8.83, allocations: 392.7 kB / 3.977 GB, free: 213.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.61e-07/8.83, allocations: 0 / 3.977 GB, free: 213.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07444/8.904, allocations: 40.68 MB / 4.016 GB, free: 212.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/8.905, allocations: 129.1 kB / 4.016 GB, free: 212.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/12.37, allocations: 0 / 4.016 GB, free: 212.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat