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.001194/0.001194, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 204 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.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.402 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.347/2.347, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004571, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8036, allocations: 142.3 MB / 0.9538 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2211/1.025, allocations: 199 MB / 1.148 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02556/1.05, allocations: 19.09 MB / 1.167 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/1.053, allocations: 47.75 kB / 1.167 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/1.056, allocations: 0.8193 MB / 1.168 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009508/1.066, allocations: 3.041 MB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003923/1.07, allocations: 1.063 MB / 1.172 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01225/1.082, allocations: 8.033 MB / 1.18 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/1.086, allocations: 1.732 MB / 1.181 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0053/1.092, allocations: 2.005 MB / 1.183 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/1.097, allocations: 2.395 MB / 1.186 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000681/1.098, allocations: 160 kB / 1.186 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006419/1.104, allocations: 1.731 MB / 1.187 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002113/1.106, allocations: 1.258 MB / 1.189 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/1.108, allocations: 0.6252 MB / 1.189 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006613/1.115, allocations: 3.963 MB / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.115, allocations: 0 / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.394e-06/1.115, allocations: 0 / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000104/1.115, allocations: 0 / 1.193 GB, free: 10.66 MB / 0.9512 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.009166/1.124, allocations: 3.489 MB / 1.196 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/1.124, allocations: 12.03 kB / 1.196 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008127/1.125, allocations: 387.7 kB / 1.197 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/1.13, allocations: 0.8353 MB / 1.198 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/1.134, allocations: 1.825 MB / 1.199 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.134, allocations: 205.4 kB / 1.2 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/1.134, allocations: 271.9 kB / 1.2 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00618/1.141, allocations: 3.267 MB / 1.203 GB, free: 212 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/1.141, allocations: 4 kB / 1.203 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/1.141, allocations: 112 kB / 1.203 GB, free: 96 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/1.141, allocations: 121.4 kB / 1.203 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007802/1.149, allocations: 4.604 MB / 1.208 GB, free: 11.36 MB / 0.9669 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.01786/1.167, allocations: 10.88 MB / 1.218 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006516/1.173, allocations: 4.838 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/1.177, allocations: 2.516 MB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/1.178, allocations: 0.876 MB / 1.226 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.476e-05/1.179, allocations: 85.64 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=399): time 5.741e-06/1.179, allocations: 0 / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=399): time 0.01089/1.189, allocations: 6.007 MB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/1.19, allocations: 94.55 kB / 1.233 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/1.192, allocations: 1.217 MB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003094/1.192, allocations: 89.7 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000718/1.193, allocations: 0.8172 MB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.195, allocations: 1.332 MB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/1.195, allocations: 68 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002834/1.195, allocations: 441.1 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/1.198, allocations: 1.592 MB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.201, allocations: 1.897 MB / 1.24 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/1.204, allocations: 1.886 MB / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.204, allocations: 7.938 kB / 1.242 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007233/1.211, allocations: 4.16 MB / 1.246 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.212, allocations: 9.656 kB / 1.246 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.212, allocations: 7.984 kB / 1.246 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/1.212, allocations: 20 kB / 1.246 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/1.214, allocations: 0.6826 MB / 1.246 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.27e-05/1.214, allocations: 16 kB / 1.246 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/1.217, allocations: 409.1 kB / 1.247 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002752/1.218, allocations: 112 kB / 1.247 GB, free: 2.191 MB / 0.9981 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.001591/1.219, allocations: 0.7256 MB / 1.248 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007283/1.22, allocations: 245.1 kB / 1.248 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6054/1.825, allocations: 4.63 MB / 1.252 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/1.825, allocations: 38.38 kB / 1.252 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/1.826, allocations: 1.688 kB / 1.252 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007461/1.833, allocations: 3.941 MB / 1.256 GB, free: 279.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.848, allocations: 8.257 MB / 1.264 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.848, allocations: 0 / 1.264 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/1.851, allocations: 0.661 MB / 1.265 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006237/1.852, allocations: 145.4 kB / 1.265 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003953/1.852, allocations: 83.94 kB / 1.265 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/1.856, allocations: 4.521 MB / 1.27 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.856, allocations: 0 / 1.27 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/1.873, allocations: 6.787 MB / 1.276 GB, free: 268.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/1.875, allocations: 0.7626 MB / 1.277 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005256/1.876, allocations: 69.03 kB / 1.277 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/1.879, allocations: 217.8 kB / 1.277 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004879/1.879, allocations: 229 kB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003256/1.88, allocations: 120 kB / 1.278 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001579/1.881, allocations: 0.8477 MB / 1.278 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/1.881, allocations: 0 / 1.278 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004062/1.885, allocations: 1.091 MB / 1.279 GB, free: 266.6 MB / 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.01482/1.9, allocations: 7.577 MB / 1.287 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008271/1.909, allocations: 4.025 MB / 1.291 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.909, allocations: 0 / 1.291 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004435/1.913, allocations: 2.544 MB / 1.293 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006521/1.92, allocations: 1.03 MB / 1.294 GB, free: 256.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/1.955, allocations: 19.66 MB / 1.314 GB, free: 235.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.957, allocations: 1.935 MB / 1.315 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004045/1.961, allocations: 1.221 MB / 1.317 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.963, allocations: 1.097 MB / 1.318 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.963, allocations: 8 kB / 1.318 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09711/2.06, allocations: 66.46 MB / 1.383 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/2.06, allocations: 202.1 kB / 1.383 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.755/5.815, allocations: 0 / 1.383 GB, free: 165.5 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