Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009552/0.000955, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009978/0.0009984, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.706/2.706, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004971, allocations: 16 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8226/0.8231, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1954/1.019, allocations: 179.4 MB / 1.129 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02565/1.044, allocations: 18.02 MB / 1.146 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/1.047, allocations: 43.75 kB / 1.146 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00396/1.051, allocations: 1.112 MB / 1.148 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0123/1.063, allocations: 3.435 MB / 1.151 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005676/1.069, allocations: 1.473 MB / 1.152 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008385/1.078, allocations: 3.958 MB / 1.156 GB, free: 180 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/1.081, allocations: 1.736 MB / 1.158 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004435/1.085, allocations: 1.831 MB / 1.16 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/1.088, allocations: 1.647 MB / 1.161 GB, free: 10.92 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003752/1.088, allocations: 164 kB / 1.161 GB, free: 10.76 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/1.093, allocations: 1.689 MB / 1.163 GB, free: 9.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00141/1.095, allocations: 1.142 MB / 1.164 GB, free: 7.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/1.096, allocations: 0.6252 MB / 1.165 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005114/1.101, allocations: 3.822 MB / 1.169 GB, free: 3.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/1.101, allocations: 0 / 1.169 GB, free: 3.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.084e-06/1.101, allocations: 4 kB / 1.169 GB, free: 3.457 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.056e-05/1.101, allocations: 0 / 1.169 GB, free: 3.457 MB / 0.92 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.008693/1.11, allocations: 3.442 MB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.11, allocations: 15.97 kB / 1.172 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008521/1.111, allocations: 383.7 kB / 1.172 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/1.115, allocations: 0.8392 MB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/1.12, allocations: 1.794 MB / 1.175 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/1.12, allocations: 201.4 kB / 1.175 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005005/1.12, allocations: 272 kB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005548/1.126, allocations: 3.24 MB / 1.178 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/1.126, allocations: 3.906 kB / 1.178 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/1.126, allocations: 116 kB / 1.179 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/1.126, allocations: 121.4 kB / 1.179 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007557/1.134, allocations: 4.612 MB / 1.183 GB, free: 4.25 MB / 0.9356 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.01879/1.153, allocations: 10.89 MB / 1.194 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006372/1.159, allocations: 4.85 MB / 1.199 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/1.16, allocations: 0.8761 MB / 1.199 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/1.16, allocations: 77.64 kB / 1.2 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=399): time 6.011e-06/1.16, allocations: 4 kB / 1.2 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of matching and sorting (n=399): time 0.01042/1.171, allocations: 6.024 MB / 1.205 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/1.171, allocations: 94.48 kB / 1.205 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/1.173, allocations: 1.255 MB / 1.207 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003209/1.173, allocations: 93.7 kB / 1.207 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/1.174, allocations: 0.8135 MB / 1.208 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.175, allocations: 1.332 MB / 1.209 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/1.175, allocations: 64 kB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.175, allocations: 441.1 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/1.178, allocations: 1.596 MB / 1.211 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/1.18, allocations: 1.89 MB / 1.213 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/1.183, allocations: 1.894 MB / 1.215 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.183, allocations: 0 / 1.215 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00658/1.19, allocations: 4.179 MB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.19, allocations: 10.03 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.19, allocations: 4 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/1.19, allocations: 16 kB / 1.219 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/1.193, allocations: 0.6908 MB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/1.193, allocations: 19.98 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/1.196, allocations: 401.1 kB / 1.22 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/1.196, allocations: 112 kB / 1.22 GB, free: 13.52 MB / 0.9825 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.001222/1.197, allocations: 0.7313 MB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/1.198, allocations: 241.1 kB / 1.221 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/1.205, allocations: 4.641 MB / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/1.205, allocations: 40 kB / 1.225 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/1.205, allocations: 0 / 1.225 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005656/1.211, allocations: 3.95 MB / 1.229 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004759/1.215, allocations: 3.36 MB / 1.233 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.215, allocations: 0 / 1.233 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002921/1.218, allocations: 0.6592 MB / 1.233 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/1.219, allocations: 138.5 kB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002264/1.219, allocations: 83.97 kB / 1.233 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/1.223, allocations: 4.584 MB / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.223, allocations: 3.938 kB / 1.238 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.233, allocations: 6.815 MB / 1.245 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/1.235, allocations: 0.7666 MB / 1.245 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/1.236, allocations: 64 kB / 1.245 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/1.238, allocations: 218.9 kB / 1.246 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/1.239, allocations: 226.8 kB / 1.246 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.239, allocations: 116 kB / 1.246 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001249/1.24, allocations: 0.8762 MB / 1.247 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.24, allocations: 0 / 1.247 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003393/1.244, allocations: 1.092 MB / 1.248 GB, free: 280 kB / 0.9981 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.5127/1.756, allocations: 7.615 MB / 1.255 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007424/1.764, allocations: 4.035 MB / 1.259 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.764, allocations: 1.094 kB / 1.259 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003626/1.767, allocations: 2.556 MB / 1.262 GB, free: 275 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/1.772, allocations: 0.9661 MB / 1.263 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.786, allocations: 11.02 MB / 1.273 GB, free: 268 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/1.788, allocations: 1.983 MB / 1.275 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004047/1.792, allocations: 1.228 MB / 1.277 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.794, allocations: 1.09 MB / 1.278 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.794, allocations: 0 / 1.278 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08438/1.878, allocations: 65.83 MB / 1.342 GB, free: 206.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/1.878, allocations: 198.2 kB / 1.342 GB, free: 206.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.655/5.533, allocations: 0 / 1.342 GB, free: 206.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat does not exist to compare? outputFormat=mat