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.351/2.351, allocations: 390.5 MB / 398 MB, free: 10.98 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.001296/0.001296, allocations: 182.5 kB / 491.2 MB, free: 1.57 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.478/1.478, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001069/0.001069, allocations: 95.88 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.797e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2674, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.05/10.31, allocations: 4.439 GB / 5.651 GB, free: 77.51 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/10.31, allocations: 87.95 kB / 5.651 GB, free: 77.43 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.122/14.44, allocations: 0.9782 GB / 6.629 GB, free: 212.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.384e-06/14.44, allocations: 0 / 6.629 GB, free: 212.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002458/14.44, allocations: 66.66 kB / 6.629 GB, free: 212.2 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.01294/14.45, allocations: 3.307 MB / 6.633 GB, free: 211.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/14.45, allocations: 10.31 kB / 6.633 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006541/14.46, allocations: 0.7528 MB / 6.633 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006619/14.46, allocations: 2.007 MB / 6.635 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/14.46, allocations: 86.09 kB / 6.635 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009357/14.46, allocations: 158.2 kB / 6.636 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01352/14.48, allocations: 4.144 MB / 6.64 GB, free: 211.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/14.49, allocations: 2.717 MB / 6.642 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.855e-05/14.49, allocations: 4.062 kB / 6.642 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/14.49, allocations: 1.906 kB / 6.642 GB, free: 211 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/14.49, allocations: 127.5 kB / 6.642 GB, free: 211 MB / 1.167 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.01931/14.51, allocations: 10.36 MB / 6.653 GB, free: 207.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005437/14.51, allocations: 4.794 MB / 6.657 GB, free: 207.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003367/14.52, allocations: 2.339 MB / 6.66 GB, free: 207.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009331/14.52, allocations: 0.8624 MB / 6.66 GB, free: 206.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/14.52, allocations: 76.83 kB / 6.66 GB, free: 206.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 4.92e-06/14.52, allocations: 0 / 6.66 GB, free: 206.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.00971/14.53, allocations: 4.139 MB / 6.664 GB, free: 205.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/14.53, allocations: 97.55 kB / 6.665 GB, free: 205.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/14.53, allocations: 1.029 MB / 6.666 GB, free: 205.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004662/14.53, allocations: 32.48 kB / 6.666 GB, free: 205.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/14.53, allocations: 0.793 MB / 6.666 GB, free: 205.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/14.53, allocations: 1.281 MB / 6.668 GB, free: 204.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/14.53, allocations: 0 / 6.668 GB, free: 204.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002044/14.53, allocations: 445.1 kB / 6.668 GB, free: 204.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/14.53, allocations: 1.479 MB / 6.67 GB, free: 204.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/14.54, allocations: 1.75 MB / 6.671 GB, free: 204.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005086/14.54, allocations: 2.12 MB / 6.673 GB, free: 204.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/14.54, allocations: 0 / 6.673 GB, free: 204.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009462/14.55, allocations: 4.172 MB / 6.677 GB, free: 204 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/14.55, allocations: 3.969 kB / 6.677 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/14.55, allocations: 7.766 kB / 6.677 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-05/14.55, allocations: 16.97 kB / 6.677 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/14.56, allocations: 0.692 MB / 6.678 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.159e-05/14.56, allocations: 22.16 kB / 6.678 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/14.56, allocations: 332.4 kB / 6.678 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004755/14.56, allocations: 107.5 kB / 6.679 GB, free: 203.9 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 () * 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.0007372/14.56, allocations: 156.7 kB / 6.679 GB, free: 203.8 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008706/14.57, allocations: 4.076 MB / 6.683 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008564/14.57, allocations: 238.7 kB / 6.683 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008949/14.58, allocations: 4.573 MB / 6.687 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/14.58, allocations: 38.12 kB / 6.687 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/14.58, allocations: 0 / 6.687 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008069/14.59, allocations: 3.983 MB / 6.691 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/14.61, allocations: 7.947 MB / 6.699 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/14.61, allocations: 0 / 6.699 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/14.61, allocations: 0.6574 MB / 6.7 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/14.61, allocations: 139.8 kB / 6.7 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004772/14.61, allocations: 30.75 kB / 6.7 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/14.61, allocations: 4.365 MB / 6.704 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/14.61, allocations: 0 / 6.704 GB, free: 198.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/14.63, allocations: 6.686 MB / 6.711 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/14.63, allocations: 0.773 MB / 6.711 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000866/14.63, allocations: 0 / 6.711 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003488/14.63, allocations: 148.6 kB / 6.712 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007681/14.63, allocations: 225.5 kB / 6.712 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004628/14.63, allocations: 114.3 kB / 6.712 GB, free: 197.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001482/14.63, allocations: 0.7914 MB / 6.713 GB, free: 197.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/14.63, allocations: 0 / 6.713 GB, free: 197.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005624/14.64, allocations: 1.132 MB / 6.714 GB, free: 197.7 MB / 1.167 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 () * 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.01554/14.66, allocations: 9.669 MB / 6.723 GB, free: 196.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008997/14.66, allocations: 3.753 MB / 6.727 GB, free: 196 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/14.66, allocations: 7.438 kB / 6.727 GB, free: 196 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00478/14.67, allocations: 2.396 MB / 6.729 GB, free: 195.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00623/14.68, allocations: 0.9035 MB / 6.73 GB, free: 195.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/14.69, allocations: 6.166 MB / 6.736 GB, free: 194.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/14.69, allocations: 1.998 MB / 6.738 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006149/14.7, allocations: 1.221 MB / 6.739 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/14.7, allocations: 1.089 MB / 6.74 GB, free: 193.8 MB / 1.167 GB Notification: Performance of SimCode: time 7.61e-07/14.7, allocations: 0 / 6.74 GB, free: 193.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/14.84, allocations: 80.7 MB / 6.819 GB, free: 191.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/14.84, allocations: 136 kB / 6.819 GB, free: 191.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.89/20.73, allocations: 5.156 kB / 6.819 GB, free: 191.3 MB / 1.167 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