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.001107/0.001108, allocations: 99.55 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.0009897/0.0009897, 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.545/1.545, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.491/2.491, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6767, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1548/0.8315, allocations: 141 MB / 1.091 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.8434, allocations: 7.382 MB / 1.099 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.845, allocations: 31.81 kB / 1.099 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.8468, allocations: 0.5247 MB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004878/0.8517, allocations: 1.56 MB / 1.101 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/0.8547, allocations: 0.9996 MB / 1.102 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003488/0.8582, allocations: 2.417 MB / 1.104 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.8595, allocations: 0.9875 MB / 1.105 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.8613, allocations: 1.122 MB / 1.106 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.8627, allocations: 1.071 MB / 1.107 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.8629, allocations: 92 kB / 1.107 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.8649, allocations: 0.8584 MB / 1.108 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005165/0.8654, allocations: 0.5219 MB / 1.108 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.8658, allocations: 364.8 kB / 1.109 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.8678, allocations: 1.96 MB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8678, allocations: 0 / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8678, allocations: 0 / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.8679, allocations: 3.938 kB / 1.111 GB, free: 14.86 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.004024/0.8719, allocations: 2.028 MB / 1.113 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8719, allocations: 12.03 kB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002892/0.8722, allocations: 227.7 kB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.8727, allocations: 197.7 kB / 1.113 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.8747, allocations: 1.072 MB / 1.114 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.8748, allocations: 111 kB / 1.114 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.875, allocations: 152 kB / 1.114 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.8779, allocations: 1.899 MB / 1.116 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.878, allocations: 7.938 kB / 1.116 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.8781, allocations: 60 kB / 1.116 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.8781, allocations: 36 kB / 1.116 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/0.8819, allocations: 2.478 MB / 1.119 GB, free: 6.434 MB / 0.8731 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.008568/0.8905, allocations: 6.139 MB / 1.125 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00366/0.8942, allocations: 2.794 MB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/0.8958, allocations: 1.742 MB / 1.129 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.8959, allocations: 56.56 kB / 1.129 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=237): time 3.998e-06/0.8959, allocations: 0 / 1.129 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=237): time 0.005606/0.9015, allocations: 3.442 MB / 1.133 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.9016, allocations: 77.41 kB / 1.133 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.9026, allocations: 0.79 MB / 1.133 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.9028, allocations: 69.7 kB / 1.134 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.9031, allocations: 490.2 kB / 1.134 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006191/0.9037, allocations: 0.7853 MB / 1.135 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.9038, allocations: 43.94 kB / 1.135 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.904, allocations: 390 kB / 1.135 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.9055, allocations: 0.898 MB / 1.136 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.9071, allocations: 1.113 MB / 1.137 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.9087, allocations: 1.084 MB / 1.138 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.9087, allocations: 0 / 1.138 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003741/0.9125, allocations: 2.428 MB / 1.141 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9125, allocations: 9.25 kB / 1.141 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.9125, allocations: 4 kB / 1.141 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.9126, allocations: 12.47 kB / 1.141 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.9143, allocations: 447.3 kB / 1.141 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.9143, allocations: 19.98 kB / 1.141 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.9155, allocations: 210.3 kB / 1.141 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.9156, allocations: 71.98 kB / 1.141 GB, free: 14.43 MB / 0.9044 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.0006769/0.9163, allocations: 441.2 kB / 1.142 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.9166, allocations: 146.2 kB / 1.142 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.921, allocations: 2.737 MB / 1.145 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.921, allocations: 23.94 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.921, allocations: 0 / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003354/0.9244, allocations: 2.378 MB / 1.147 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.9306, allocations: 4.302 MB / 1.151 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.9306, allocations: 7.984 kB / 1.151 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.9323, allocations: 411.4 kB / 1.152 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005566/0.9329, allocations: 105.7 kB / 1.152 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.933, allocations: 47.98 kB / 1.152 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006904/0.9337, allocations: 1.116 MB / 1.153 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9337, allocations: 4.125 kB / 1.153 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005941/0.9396, allocations: 4.088 MB / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009688/0.9406, allocations: 498.5 kB / 1.157 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.9408, allocations: 44 kB / 1.157 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/0.9418, allocations: 111.8 kB / 1.157 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.9421, allocations: 141.8 kB / 1.157 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.9422, allocations: 71.97 kB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007246/0.9429, allocations: 0.5576 MB / 1.158 GB, free: 12.96 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.943, allocations: 0 / 1.158 GB, free: 12.96 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001534/0.9445, allocations: 0.6553 MB / 1.159 GB, free: 12.31 MB / 0.92 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.006773/0.9513, allocations: 5.043 MB / 1.164 GB, free: 7.227 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003549/0.9548, allocations: 2.313 MB / 1.166 GB, free: 4.914 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.9549, allocations: 4.312 kB / 1.166 GB, free: 4.91 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002/0.9569, allocations: 1.276 MB / 1.167 GB, free: 3.633 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.9596, allocations: 0.512 MB / 1.168 GB, free: 3.125 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/0.9676, allocations: 7.567 MB / 1.175 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/0.9686, allocations: 1.374 MB / 1.176 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002018/0.9706, allocations: 0.7309 MB / 1.177 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009138/0.9715, allocations: 0.6242 MB / 1.178 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.9715, allocations: 4 kB / 1.178 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06092/1.032, allocations: 39.04 MB / 1.216 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.033, allocations: 206.2 kB / 1.216 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.967, allocations: 4.062 kB / 1.216 GB, free: 1.832 MB / 0.9669 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