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.001603/0.001602, allocations: 86.8 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.002368/0.002368, 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.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.434 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.415/2.415, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.762/0.7624, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2289/0.9913, allocations: 194.6 MB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01309/1.004, allocations: 9.535 MB / 1.153 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/1.006, allocations: 35.81 kB / 1.153 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/1.008, allocations: 0.5514 MB / 1.154 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005989/1.014, allocations: 2.096 MB / 1.156 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/1.017, allocations: 0.9688 MB / 1.157 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00471/1.021, allocations: 3.881 MB / 1.161 GB, free: 11.88 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/1.022, allocations: 0.7491 MB / 1.161 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/1.024, allocations: 0.9727 MB / 1.162 GB, free: 10.14 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/1.026, allocations: 1.035 MB / 1.163 GB, free: 9.098 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/1.026, allocations: 60 kB / 1.163 GB, free: 9.039 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/1.029, allocations: 1.348 MB / 1.165 GB, free: 7.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/1.03, allocations: 430.7 kB / 1.165 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/1.03, allocations: 285 kB / 1.165 GB, free: 6.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/1.033, allocations: 1.835 MB / 1.167 GB, free: 5.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.033, allocations: 0 / 1.167 GB, free: 5.141 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/1.033, allocations: 0 / 1.167 GB, free: 5.141 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.033, allocations: 0 / 1.167 GB, free: 5.141 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003324/1.036, allocations: 1.57 MB / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.036, allocations: 8.031 kB / 1.169 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/1.036, allocations: 152 kB / 1.169 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/1.039, allocations: 430 kB / 1.169 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/1.04, allocations: 0.8284 MB / 1.17 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/1.04, allocations: 74 kB / 1.17 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/1.041, allocations: 95.89 kB / 1.17 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/1.042, allocations: 1.194 MB / 1.171 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.042, allocations: 4 kB / 1.171 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/1.043, allocations: 36 kB / 1.171 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-05/1.043, allocations: 57.92 kB / 1.171 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/1.044, allocations: 1.07 MB / 1.172 GB, free: 15.5 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.005707/1.05, allocations: 4.735 MB / 1.177 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.052, allocations: 0.988 MB / 1.178 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009054/1.053, allocations: 0.5558 MB / 1.179 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/1.053, allocations: 0.6811 MB / 1.179 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/1.053, allocations: 47.11 kB / 1.179 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.254e-06/1.053, allocations: 0 / 1.179 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.004458/1.058, allocations: 2.296 MB / 1.182 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.058, allocations: 64.41 kB / 1.182 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/1.059, allocations: 0.6295 MB / 1.182 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/1.059, allocations: 41.7 kB / 1.182 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/1.059, allocations: 456 kB / 1.183 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/1.059, allocations: 295.7 kB / 1.183 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/1.059, allocations: 12 kB / 1.183 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.059, allocations: 390.8 kB / 1.183 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/1.06, allocations: 325.8 kB / 1.184 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/1.061, allocations: 426.5 kB / 1.184 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/1.061, allocations: 378.9 kB / 1.184 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.061, allocations: 0 / 1.184 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001477/1.063, allocations: 0.9424 MB / 1.185 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.063, allocations: 4.25 kB / 1.185 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.063, allocations: 8 kB / 1.185 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/1.063, allocations: 56.83 kB / 1.185 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/1.064, allocations: 163.7 kB / 1.186 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/1.064, allocations: 0.6069 MB / 1.186 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/1.065, allocations: 107.8 kB / 1.186 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/1.065, allocations: 28 kB / 1.186 GB, free: 0.5625 MB / 0.9356 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 (92): * Single equations (assignments): 91 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/1.066, allocations: 309.5 kB / 1.187 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.066, allocations: 86.97 kB / 1.187 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.067, allocations: 0.9285 MB / 1.188 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.067, allocations: 11.94 kB / 1.188 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.067, allocations: 0 / 1.188 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/1.069, allocations: 0.9232 MB / 1.189 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.072, allocations: 2.107 MB / 1.191 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.072, allocations: 3.938 kB / 1.191 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/1.073, allocations: 199.8 kB / 1.191 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.073, allocations: 0 / 1.191 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/1.073, allocations: 20 kB / 1.191 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.073, allocations: 4 kB / 1.191 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.073, allocations: 0 / 1.191 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/1.075, allocations: 1.391 MB / 1.192 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/1.075, allocations: 248 kB / 1.192 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.075, allocations: 16 kB / 1.192 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/1.076, allocations: 81.91 kB / 1.192 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.076, allocations: 60.92 kB / 1.193 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/1.076, allocations: 27.98 kB / 1.193 GB, free: 10 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005325/1.077, allocations: 451 kB / 1.193 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.077, allocations: 0 / 1.193 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008844/1.078, allocations: 324 kB / 1.193 GB, free: 9.25 MB / 0.9512 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.002371/1.08, allocations: 2.035 MB / 1.195 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.081, allocations: 0.809 MB / 1.196 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.081, allocations: 0 / 1.196 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005963/1.082, allocations: 433.6 kB / 1.196 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.084, allocations: 0.5696 MB / 1.197 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/1.094, allocations: 6.238 MB / 1.203 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/1.095, allocations: 1.128 MB / 1.204 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001079/1.096, allocations: 255.7 kB / 1.204 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.096, allocations: 387.3 kB / 1.205 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of SimCode: time 9.21e-07/1.096, allocations: 0 / 1.205 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0548/1.151, allocations: 27.7 MB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/1.151, allocations: 204.9 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.553, allocations: 0 / 1.232 GB, free: 1.668 MB / 0.9825 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