Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.0009852/0.0009851, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001294/0.001294, allocations: 172.7 kB / 15.95 MB, free: 208 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.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.441 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.442/2.442, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 16 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7938, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1895/0.9834, allocations: 151.7 MB / 1.102 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0126/0.996, allocations: 7.951 MB / 1.11 GB, free: 80 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.9975, allocations: 31.81 kB / 1.11 GB, free: 48 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.9989, allocations: 441.4 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003399/1.002, allocations: 1.293 MB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/1.004, allocations: 0.7338 MB / 1.112 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004905/1.009, allocations: 4.597 MB / 1.117 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/1.011, allocations: 0.9795 MB / 1.118 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/1.013, allocations: 1.246 MB / 1.119 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/1.015, allocations: 1.452 MB / 1.12 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/1.015, allocations: 92 kB / 1.12 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/1.017, allocations: 0.8306 MB / 1.121 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000546/1.018, allocations: 0.5569 MB / 1.122 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/1.018, allocations: 368.8 kB / 1.122 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/1.02, allocations: 1.976 MB / 1.124 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.02, allocations: 0 / 1.124 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/1.02, allocations: 0 / 1.124 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.152e-05/1.02, allocations: 0 / 1.124 GB, free: 1.449 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003931/1.024, allocations: 2.021 MB / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.024, allocations: 8.031 kB / 1.126 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/1.025, allocations: 223.7 kB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004347/1.025, allocations: 201.7 kB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/1.027, allocations: 1.15 MB / 1.127 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/1.027, allocations: 119 kB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.027, allocations: 144 kB / 1.128 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.03, allocations: 1.923 MB / 1.13 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/1.03, allocations: 3.906 kB / 1.13 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/1.031, allocations: 64 kB / 1.13 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/1.031, allocations: 36 kB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003812/1.034, allocations: 2.478 MB / 1.132 GB, free: 8.93 MB / 0.8887 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.008015/1.042, allocations: 6.101 MB / 1.138 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/1.046, allocations: 2.798 MB / 1.141 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/1.048, allocations: 1.413 MB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/1.05, allocations: 1.738 MB / 1.144 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/1.05, allocations: 56.56 kB / 1.144 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=237): time 3.827e-06/1.05, allocations: 0 / 1.144 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=237): time 0.005797/1.056, allocations: 3.45 MB / 1.147 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/1.056, allocations: 77.41 kB / 1.147 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/1.057, allocations: 0.7471 MB / 1.148 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/1.057, allocations: 65.7 kB / 1.148 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/1.057, allocations: 498.1 kB / 1.149 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007619/1.058, allocations: 0.7892 MB / 1.149 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/1.058, allocations: 40 kB / 1.149 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001969/1.059, allocations: 386 kB / 1.15 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/1.06, allocations: 0.898 MB / 1.151 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/1.062, allocations: 1.125 MB / 1.152 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/1.063, allocations: 1.08 MB / 1.153 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.063, allocations: 0 / 1.153 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003715/1.067, allocations: 2.437 MB / 1.155 GB, free: 336 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.067, allocations: 8 kB / 1.155 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.067, allocations: 8 kB / 1.155 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.067, allocations: 19.89 kB / 1.155 GB, free: 300 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.069, allocations: 435.4 kB / 1.156 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/1.069, allocations: 19.92 kB / 1.156 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.07, allocations: 210.3 kB / 1.156 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.07, allocations: 75.98 kB / 1.156 GB, free: 15.57 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0007108/1.071, allocations: 433.3 kB / 1.156 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.071, allocations: 146.2 kB / 1.157 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/1.075, allocations: 2.733 MB / 1.159 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.075, allocations: 28 kB / 1.159 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.075, allocations: 0 / 1.159 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003246/1.079, allocations: 2.378 MB / 1.162 GB, free: 9.773 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/1.085, allocations: 4.295 MB / 1.166 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.085, allocations: 0 / 1.166 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.086, allocations: 407.5 kB / 1.166 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/1.087, allocations: 113.6 kB / 1.166 GB, free: 4.895 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/1.087, allocations: 47.98 kB / 1.166 GB, free: 4.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006942/1.088, allocations: 1.124 MB / 1.167 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.088, allocations: 0 / 1.167 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/1.093, allocations: 4.062 MB / 1.171 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008715/1.094, allocations: 486.5 kB / 1.172 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/1.095, allocations: 43.94 kB / 1.172 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/1.095, allocations: 103.9 kB / 1.172 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/1.096, allocations: 145.8 kB / 1.172 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.096, allocations: 75.94 kB / 1.172 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006916/1.096, allocations: 0.5302 MB / 1.173 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.096, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001373/1.098, allocations: 0.6359 MB / 1.173 GB, free: 13.56 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006401/1.104, allocations: 4.875 MB / 1.178 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00343/1.108, allocations: 2.313 MB / 1.18 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.108, allocations: 0 / 1.18 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.11, allocations: 1.281 MB / 1.182 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.112, allocations: 0.5553 MB / 1.182 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.128, allocations: 10.96 MB / 1.193 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.129, allocations: 1.343 MB / 1.194 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002144/1.131, allocations: 0.727 MB / 1.195 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009073/1.132, allocations: 0.6242 MB / 1.195 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/1.132, allocations: 0 / 1.195 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06425/1.196, allocations: 39 MB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.197, allocations: 206.9 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.089, allocations: 0 / 1.234 GB, free: 15.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat does not exist to compare? outputFormat=mat