Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_latest_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.001484/0.001485, allocations: 100.1 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.0015/0.0015, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.561/2.561, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.704/4.704, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006804/0.0006805, allocations: 16 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598/1.599, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.2994/1.898, allocations: 156.6 MB / 1.134 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0212/1.919, allocations: 6.011 MB / 1.14 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/1.923, allocations: 27.81 kB / 1.14 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003876/1.927, allocations: 0.5249 MB / 1.14 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/1.94, allocations: 1.815 MB / 1.142 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005763/1.946, allocations: 0.9033 MB / 1.143 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00617/1.952, allocations: 1.455 MB / 1.144 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/1.954, allocations: 0.5784 MB / 1.145 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/1.957, allocations: 0.6618 MB / 1.146 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/1.959, allocations: 0.4902 MB / 1.146 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/1.959, allocations: 36 kB / 1.146 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/1.962, allocations: 0.7293 MB / 1.147 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005975/1.963, allocations: 279.2 kB / 1.147 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006693/1.964, allocations: 229.1 kB / 1.147 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/1.966, allocations: 1.227 MB / 1.148 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.966, allocations: 0 / 1.148 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.867e-06/1.966, allocations: 0 / 1.148 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.033e-05/1.966, allocations: 4 kB / 1.148 GB, free: 10.27 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003064/1.969, allocations: 1.187 MB / 1.15 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/1.969, allocations: 12.03 kB / 1.15 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/1.969, allocations: 110.5 kB / 1.15 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/1.972, allocations: 318.5 kB / 1.15 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/1.975, allocations: 0.7149 MB / 1.151 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/1.975, allocations: 53.31 kB / 1.151 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/1.975, allocations: 68 kB / 1.151 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/1.978, allocations: 0.7862 MB / 1.152 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/1.978, allocations: 0 / 1.152 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.978, allocations: 31.95 kB / 1.152 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/1.978, allocations: 29.3 kB / 1.152 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/1.98, allocations: 0.6492 MB / 1.152 GB, free: 6.195 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.009559/1.99, allocations: 3.374 MB / 1.156 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/1.992, allocations: 0.5135 MB / 1.156 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.993, allocations: 0.59 MB / 1.157 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/1.993, allocations: 42.94 kB / 1.157 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=51): time 5.31e-06/1.993, allocations: 4 kB / 1.157 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=51): time 0.003312/1.996, allocations: 0.7871 MB / 1.157 GB, free: 444 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/1.996, allocations: 55.84 kB / 1.158 GB, free: 376 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/1.998, allocations: 0.5902 MB / 1.158 GB, free: 15.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/1.998, allocations: 37.7 kB / 1.158 GB, free: 15.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/1.999, allocations: 384.2 kB / 1.159 GB, free: 15.34 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/1.999, allocations: 181.3 kB / 1.159 GB, free: 15.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/1.999, allocations: 16 kB / 1.159 GB, free: 15.15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003114/1.999, allocations: 374.8 kB / 1.159 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/2, allocations: 213 kB / 1.159 GB, free: 14.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/2.001, allocations: 295.1 kB / 1.16 GB, free: 14.26 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/2.002, allocations: 254.1 kB / 1.16 GB, free: 14.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/2.002, allocations: 0 / 1.16 GB, free: 14.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002098/2.004, allocations: 0.6386 MB / 1.16 GB, free: 13.37 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/2.004, allocations: 9.656 kB / 1.16 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/2.004, allocations: 4 kB / 1.16 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/2.004, allocations: 4 kB / 1.16 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/2.005, allocations: 147.9 kB / 1.161 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/2.005, allocations: 0 / 1.161 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/2.007, allocations: 87.48 kB / 1.161 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/2.007, allocations: 16 kB / 1.161 GB, free: 13.11 MB / 0.92 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.0008733/2.008, allocations: 257.7 kB / 1.161 GB, free: 12.85 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/2.008, allocations: 79.11 kB / 1.161 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/2.01, allocations: 0.6126 MB / 1.162 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/2.01, allocations: 4 kB / 1.162 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/2.01, allocations: 0 / 1.162 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001824/2.012, allocations: 0.8262 MB / 1.162 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005203/2.017, allocations: 1.554 MB / 1.164 GB, free: 9.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/2.018, allocations: 4 kB / 1.164 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/2.019, allocations: 167.9 kB / 1.164 GB, free: 9.449 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/2.019, allocations: 4 kB / 1.164 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/2.019, allocations: 19.98 kB / 1.164 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/2.019, allocations: 4 kB / 1.164 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/2.019, allocations: 4 kB / 1.164 GB, free: 9.418 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/2.022, allocations: 1.007 MB / 1.165 GB, free: 8.363 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008565/2.023, allocations: 220 kB / 1.165 GB, free: 8.129 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/2.024, allocations: 8 kB / 1.165 GB, free: 8.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/2.025, allocations: 63.8 kB / 1.165 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/2.025, allocations: 40.34 kB / 1.165 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/2.025, allocations: 19.98 kB / 1.165 GB, free: 8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009985/2.026, allocations: 423 kB / 1.166 GB, free: 7.59 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.51e-07/2.026, allocations: 0 / 1.166 GB, free: 7.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001459/2.028, allocations: 275.4 kB / 1.166 GB, free: 7.32 MB / 0.92 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.004068/2.032, allocations: 1.864 MB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001793/2.034, allocations: 0.5134 MB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/2.034, allocations: 4.062 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007756/2.034, allocations: 274.3 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/2.039, allocations: 455.4 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/2.051, allocations: 5.675 MB / 1.175 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/2.053, allocations: 1.044 MB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001449/2.054, allocations: 182.1 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/2.055, allocations: 307.3 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of SimCode: time 2.434e-06/2.055, allocations: 4 kB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08146/2.136, allocations: 21.7 MB / 1.197 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004314/2.137, allocations: 237.6 kB / 1.198 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/6.077, allocations: 0 / 1.198 GB, free: 7.305 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat does not exist to compare? outputFormat=mat