Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",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.0007972/0.0007973, allocations: 86.17 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.0009617/0.0009618, 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.537/1.537, allocations: 223.2 MB / 240 MB, free: 5.418 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.45/2.45, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7752/0.7757, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.2119/0.9877, allocations: 171.4 MB / 1.121 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.9977, allocations: 5.715 MB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.9992, allocations: 27.81 kB / 1.127 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/1.001, allocations: 349.8 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004413/1.005, allocations: 1.387 MB / 1.129 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/1.007, allocations: 0.673 MB / 1.129 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003868/1.011, allocations: 2.881 MB / 1.132 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/1.012, allocations: 0.5705 MB / 1.133 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/1.014, allocations: 0.7313 MB / 1.133 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/1.016, allocations: 0.7276 MB / 1.134 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002321/1.016, allocations: 36 kB / 1.134 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/1.019, allocations: 0.795 MB / 1.135 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005373/1.019, allocations: 307 kB / 1.135 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005131/1.02, allocations: 221.2 kB / 1.135 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/1.022, allocations: 1.302 MB / 1.137 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.022, allocations: 8 kB / 1.137 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.102e-06/1.022, allocations: 0 / 1.137 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.881e-05/1.022, allocations: 0 / 1.137 GB, free: 4.512 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002555/1.025, allocations: 1.207 MB / 1.138 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.025, allocations: 12.03 kB / 1.138 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/1.025, allocations: 110.5 kB / 1.138 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/1.027, allocations: 326.5 kB / 1.138 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.028, allocations: 0.7149 MB / 1.139 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/1.029, allocations: 53.31 kB / 1.139 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/1.029, allocations: 67.94 kB / 1.139 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/1.03, allocations: 0.7941 MB / 1.14 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/1.03, allocations: 0 / 1.14 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/1.03, allocations: 35.97 kB / 1.14 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/1.03, allocations: 25.31 kB / 1.14 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/1.032, allocations: 0.6569 MB / 1.14 GB, free: 404 kB / 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.004539/1.036, allocations: 3.367 MB / 1.144 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009333/1.037, allocations: 0.4992 MB / 1.144 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/1.038, allocations: 298 kB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/1.038, allocations: 0.677 MB / 1.145 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/1.038, allocations: 42.95 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=51): time 2.385e-06/1.038, allocations: 0 / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=51): time 0.001799/1.04, allocations: 0.7911 MB / 1.146 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/1.04, allocations: 59.84 kB / 1.146 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/1.041, allocations: 0.594 MB / 1.147 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/1.041, allocations: 41.64 kB / 1.147 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/1.041, allocations: 384.2 kB / 1.147 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/1.042, allocations: 185.3 kB / 1.147 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/1.042, allocations: 8 kB / 1.147 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.042, allocations: 378.8 kB / 1.148 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/1.042, allocations: 217 kB / 1.148 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/1.043, allocations: 287.2 kB / 1.148 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/1.044, allocations: 254.1 kB / 1.148 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/1.044, allocations: 0 / 1.148 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001728/1.046, allocations: 0.6309 MB / 1.149 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.046, allocations: 4.156 kB / 1.149 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.046, allocations: 7.953 kB / 1.149 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.046, allocations: 4 kB / 1.149 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/1.047, allocations: 143.8 kB / 1.149 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/1.047, allocations: 4 kB / 1.149 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.048, allocations: 91.48 kB / 1.149 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/1.048, allocations: 16 kB / 1.149 GB, free: 6.922 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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.0006011/1.049, allocations: 259.8 kB / 1.149 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.049, allocations: 75.06 kB / 1.149 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.05, allocations: 0.6127 MB / 1.15 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.05, allocations: 7.953 kB / 1.15 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.05, allocations: 0 / 1.15 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001545/1.052, allocations: 0.8262 MB / 1.151 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/1.056, allocations: 1.565 MB / 1.152 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.056, allocations: 3.953 kB / 1.152 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.057, allocations: 167.9 kB / 1.153 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/1.057, allocations: 4 kB / 1.153 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/1.057, allocations: 15.98 kB / 1.153 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/1.057, allocations: 4 kB / 1.153 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.057, allocations: 0 / 1.153 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/1.059, allocations: 0.9706 MB / 1.154 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/1.06, allocations: 216 kB / 1.154 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/1.06, allocations: 16 kB / 1.154 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.061, allocations: 61.47 kB / 1.154 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.061, allocations: 32.39 kB / 1.154 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/1.061, allocations: 23.98 kB / 1.154 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005883/1.062, allocations: 423 kB / 1.154 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.062, allocations: 0 / 1.154 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008802/1.063, allocations: 275.3 kB / 1.155 GB, free: 1.191 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * 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 (51): * Single equations (assignments): 51 * 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.002191/1.065, allocations: 1.614 MB / 1.156 GB, free: 15.55 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009682/1.066, allocations: 0.5173 MB / 1.157 GB, free: 15.03 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.066, allocations: 4 kB / 1.157 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/1.066, allocations: 274.3 kB / 1.157 GB, free: 14.76 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.068, allocations: 479.4 kB / 1.157 GB, free: 14.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007693/1.076, allocations: 4.959 MB / 1.162 GB, free: 9.258 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/1.077, allocations: 1.028 MB / 1.163 GB, free: 8.199 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008091/1.078, allocations: 174.1 kB / 1.163 GB, free: 8.027 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/1.078, allocations: 307.3 kB / 1.164 GB, free: 7.727 MB / 0.92 GB Notification: Performance of SimCode: time 7.32e-07/1.078, allocations: 0 / 1.164 GB, free: 7.727 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/1.118, allocations: 21.73 MB / 1.185 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.118, allocations: 245.4 kB / 1.185 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.425, allocations: 0 / 1.185 GB, free: 2.125 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat does not exist to compare? outputFormat=mat