Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.381/2.381, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001627/0.001627, allocations: 187.1 kB / 0.4901 GB, free: 2.23 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.571/1.571, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009544/0.0009543, allocations: 100.3 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 14.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.92/12.23, allocations: 4.439 GB / 5.669 GB, free: 156.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/12.23, allocations: 90.08 kB / 5.669 GB, free: 156.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.151/15.38, allocations: 0.9892 GB / 6.658 GB, free: 55.54 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.135e-06/15.38, allocations: 0 / 6.658 GB, free: 55.54 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001837/15.38, allocations: 64 kB / 6.658 GB, free: 55.47 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01269/15.4, allocations: 3.692 MB / 6.662 GB, free: 51.72 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.96e-05/15.4, allocations: 8.562 kB / 6.662 GB, free: 51.71 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001844/15.4, allocations: 387.8 kB / 6.662 GB, free: 51.32 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/15.4, allocations: 0.7601 MB / 6.663 GB, free: 50.56 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005916/15.41, allocations: 2.009 MB / 6.665 GB, free: 48.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/15.41, allocations: 209.3 kB / 6.665 GB, free: 48.29 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009344/15.41, allocations: 267.9 kB / 6.665 GB, free: 48.03 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005849/15.42, allocations: 3.162 MB / 6.668 GB, free: 44.82 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-05/15.42, allocations: 0 / 6.668 GB, free: 44.82 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/15.42, allocations: 112 kB / 6.668 GB, free: 44.71 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/15.42, allocations: 125.4 kB / 6.668 GB, free: 44.59 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007417/15.43, allocations: 4.491 MB / 6.673 GB, free: 40.09 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01844/15.44, allocations: 10.82 MB / 6.683 GB, free: 28.59 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/15.45, allocations: 4.846 MB / 6.688 GB, free: 23.73 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009364/15.45, allocations: 0.8605 MB / 6.689 GB, free: 22.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/15.45, allocations: 73.7 kB / 6.689 GB, free: 22.62 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 6.642e-06/15.45, allocations: 4 kB / 6.689 GB, free: 22.61 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.009758/15.46, allocations: 6.075 MB / 6.695 GB, free: 16.45 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/15.46, allocations: 90.55 kB / 6.695 GB, free: 16.34 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/15.46, allocations: 1.128 MB / 6.696 GB, free: 15.21 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004768/15.46, allocations: 89.7 kB / 6.696 GB, free: 15.12 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/15.46, allocations: 0.8057 MB / 6.697 GB, free: 14.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/15.46, allocations: 1.332 MB / 6.698 GB, free: 12.95 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/15.46, allocations: 68 kB / 6.698 GB, free: 12.88 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002217/15.47, allocations: 449 kB / 6.699 GB, free: 12.44 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/15.47, allocations: 1.592 MB / 6.7 GB, free: 10.84 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/15.47, allocations: 1.882 MB / 6.702 GB, free: 8.918 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/15.47, allocations: 1.89 MB / 6.704 GB, free: 7.02 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/15.47, allocations: 0 / 6.704 GB, free: 7.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006198/15.48, allocations: 4.168 MB / 6.708 GB, free: 2.828 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/15.48, allocations: 5.719 kB / 6.708 GB, free: 2.824 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/15.48, allocations: 4 kB / 6.708 GB, free: 2.82 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.776e-05/15.48, allocations: 16 kB / 6.708 GB, free: 2.805 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/15.48, allocations: 0.6788 MB / 6.709 GB, free: 2.125 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.07e-05/15.48, allocations: 19.94 kB / 6.709 GB, free: 2.105 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/15.49, allocations: 405.1 kB / 6.709 GB, free: 1.707 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/15.49, allocations: 112 kB / 6.709 GB, free: 1.598 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.001639/15.49, allocations: 0.7351 MB / 6.71 GB, free: 0.8516 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006297/15.49, allocations: 241 kB / 6.71 GB, free: 0.6133 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008692/15.5, allocations: 4.634 MB / 6.715 GB, free: 11.93 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/15.5, allocations: 36 kB / 6.715 GB, free: 11.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/15.5, allocations: 4 kB / 6.715 GB, free: 11.89 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008284/15.51, allocations: 3.939 MB / 6.719 GB, free: 7.898 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007253/15.51, allocations: 3.329 MB / 6.722 GB, free: 4.52 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/15.51, allocations: 0 / 6.722 GB, free: 4.52 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003802/15.52, allocations: 0.6592 MB / 6.723 GB, free: 3.859 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005565/15.52, allocations: 138.5 kB / 6.723 GB, free: 3.715 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007364/15.52, allocations: 83.98 kB / 6.723 GB, free: 3.633 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7847/16.3, allocations: 4.563 MB / 6.727 GB, free: 219 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/16.3, allocations: 4.594 kB / 6.727 GB, free: 219 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/16.32, allocations: 6.782 MB / 6.734 GB, free: 218.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/16.32, allocations: 0.7709 MB / 6.735 GB, free: 218.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/16.32, allocations: 69.06 kB / 6.735 GB, free: 218.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003756/16.33, allocations: 210.9 kB / 6.735 GB, free: 218.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009934/16.33, allocations: 227.4 kB / 6.735 GB, free: 218.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000384/16.33, allocations: 110.7 kB / 6.735 GB, free: 218.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001944/16.33, allocations: 0.8862 MB / 6.736 GB, free: 218.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.683e-06/16.33, allocations: 0 / 6.736 GB, free: 218.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00737/16.34, allocations: 1.309 MB / 6.737 GB, free: 218.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02178/16.36, allocations: 9.541 MB / 6.747 GB, free: 216.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.009976/16.37, allocations: 4.018 MB / 6.751 GB, free: 216.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/16.37, allocations: 6.75 kB / 6.751 GB, free: 216.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/16.37, allocations: 2.546 MB / 6.753 GB, free: 216.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006403/16.38, allocations: 0.9861 MB / 6.754 GB, free: 216.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/16.4, allocations: 11.06 MB / 6.765 GB, free: 211.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/16.4, allocations: 1.988 MB / 6.767 GB, free: 210.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005807/16.41, allocations: 1.226 MB / 6.768 GB, free: 210.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003076/16.41, allocations: 1.094 MB / 6.769 GB, free: 210.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.342e-06/16.41, allocations: 0 / 6.769 GB, free: 210.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1667/16.58, allocations: 98.43 MB / 6.865 GB, free: 208.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/16.58, allocations: 199.1 kB / 6.865 GB, free: 208.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.972/22.55, allocations: 3.938 kB / 6.865 GB, free: 208.1 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat does not exist to compare? outputFormat=mat