Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",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.001195/0.001195, 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.001481/0.001481, 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.572/1.572, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.375/2.375, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.663, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1944/0.8574, allocations: 176.1 MB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.8712, allocations: 9.773 MB / 1.135 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.8724, allocations: 27.81 kB / 1.135 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.8746, allocations: 0.7467 MB / 1.136 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006375/0.8809, allocations: 2.293 MB / 1.138 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.8841, allocations: 1.103 MB / 1.139 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003361/0.8875, allocations: 1.816 MB / 1.141 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.8887, allocations: 0.7571 MB / 1.142 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.8907, allocations: 0.8799 MB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.8918, allocations: 0.6733 MB / 1.143 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.8919, allocations: 56 kB / 1.143 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.8948, allocations: 1.088 MB / 1.144 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004173/0.8952, allocations: 394.9 kB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.8956, allocations: 289.1 kB / 1.145 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.8977, allocations: 1.64 MB / 1.147 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.8977, allocations: 0 / 1.147 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8977, allocations: 0 / 1.147 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.8977, allocations: 0 / 1.147 GB, free: 10.06 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003537/0.9013, allocations: 1.507 MB / 1.148 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.9013, allocations: 15.97 kB / 1.148 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.9015, allocations: 148 kB / 1.148 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/0.9045, allocations: 442 kB / 1.149 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.9062, allocations: 0.8244 MB / 1.149 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.9063, allocations: 70 kB / 1.15 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.9064, allocations: 107.9 kB / 1.15 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.9084, allocations: 1.182 MB / 1.151 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.9084, allocations: 0 / 1.151 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/0.9085, allocations: 40 kB / 1.151 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.725e-05/0.9086, allocations: 53.98 kB / 1.151 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.9104, allocations: 1.07 MB / 1.152 GB, free: 4.484 MB / 0.9044 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.005967/0.9164, allocations: 4.742 MB / 1.157 GB, free: 15.35 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.9178, allocations: 0.9724 MB / 1.157 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/0.9185, allocations: 0.6849 MB / 1.158 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.9186, allocations: 43.22 kB / 1.158 GB, free: 13.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.9186, allocations: 0 / 1.158 GB, free: 13.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=83): time 0.004434/0.923, allocations: 2.288 MB / 1.16 GB, free: 11.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.9231, allocations: 60.41 kB / 1.16 GB, free: 11.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.9238, allocations: 0.6295 MB / 1.161 GB, free: 10.4 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.9239, allocations: 41.7 kB / 1.161 GB, free: 10.35 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.9242, allocations: 456 kB / 1.162 GB, free: 9.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.9245, allocations: 295.6 kB / 1.162 GB, free: 9.605 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.9245, allocations: 16 kB / 1.162 GB, free: 9.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9247, allocations: 390.7 kB / 1.162 GB, free: 9.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.9252, allocations: 321.8 kB / 1.163 GB, free: 8.883 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.9258, allocations: 418.5 kB / 1.163 GB, free: 8.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.9264, allocations: 374.9 kB / 1.163 GB, free: 8.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9264, allocations: 4 kB / 1.163 GB, free: 8.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001497/0.9279, allocations: 0.9463 MB / 1.164 GB, free: 7.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.9279, allocations: 9.188 kB / 1.164 GB, free: 7.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9279, allocations: 8.25 kB / 1.164 GB, free: 7.105 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/0.9282, allocations: 72.75 kB / 1.164 GB, free: 7.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.9289, allocations: 147.8 kB / 1.164 GB, free: 6.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004995/0.9294, allocations: 0.6343 MB / 1.165 GB, free: 6.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.9304, allocations: 107.8 kB / 1.165 GB, free: 6.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.9305, allocations: 24 kB / 1.165 GB, free: 6.098 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004732/0.931, allocations: 309.5 kB / 1.166 GB, free: 5.785 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.9311, allocations: 90.97 kB / 1.166 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.9327, allocations: 0.9206 MB / 1.166 GB, free: 4.762 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9327, allocations: 8 kB / 1.167 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.9327, allocations: 4 kB / 1.167 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.934, allocations: 0.927 MB / 1.167 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.9372, allocations: 2.094 MB / 1.169 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.9372, allocations: 4 kB / 1.169 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009409/0.9381, allocations: 183.8 kB / 1.17 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.9382, allocations: 4 kB / 1.17 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.9382, allocations: 23.98 kB / 1.17 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.9382, allocations: 0 / 1.17 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9382, allocations: 4 kB / 1.17 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.9401, allocations: 1.368 MB / 1.171 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.9407, allocations: 260 kB / 1.171 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9408, allocations: 16 kB / 1.171 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.9417, allocations: 83.77 kB / 1.171 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.9418, allocations: 52.92 kB / 1.171 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.9419, allocations: 27.98 kB / 1.171 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005369/0.9424, allocations: 451 kB / 1.172 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9424, allocations: 3.938 kB / 1.172 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008801/0.9433, allocations: 323.9 kB / 1.172 GB, free: 14.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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 Backend phase and start with SimCode phase: time 0.002375/0.9457, allocations: 2.03 MB / 1.174 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.9471, allocations: 0.8051 MB / 1.175 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9471, allocations: 4 kB / 1.175 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.9477, allocations: 429.6 kB / 1.175 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.9501, allocations: 0.5533 MB / 1.176 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.9616, allocations: 7.398 MB / 1.183 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/0.9625, allocations: 1.151 MB / 1.184 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001496/0.964, allocations: 243.8 kB / 1.184 GB, free: 2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000886/0.9649, allocations: 391.3 kB / 1.185 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of SimCode: time 2.675e-06/0.9649, allocations: 0 / 1.185 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06786/1.033, allocations: 27.67 MB / 1.212 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.033, allocations: 202.5 kB / 1.212 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/3.363, allocations: 4 kB / 1.212 GB, free: 6.102 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat