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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 180.4 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009491/0.0009493, allocations: 96.14 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 7.688 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2637, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.108/4.371, allocations: 1.921 GB / 3.144 GB, free: 66.44 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/4.372, allocations: 91.77 kB / 3.144 GB, free: 66.39 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.549/5.921, allocations: 478 MB / 3.611 GB, free: 61.26 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.513e-06/5.921, allocations: 4 kB / 3.611 GB, free: 61.26 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000117/5.921, allocations: 28.11 kB / 3.611 GB, free: 61.23 MB / 1.167 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.003394/5.925, allocations: 1.301 MB / 3.612 GB, free: 59.88 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/5.925, allocations: 12.03 kB / 3.612 GB, free: 59.87 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000317/5.925, allocations: 114.5 kB / 3.612 GB, free: 59.75 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/5.927, allocations: 310.5 kB / 3.612 GB, free: 59.44 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/5.929, allocations: 0.7887 MB / 3.613 GB, free: 58.61 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/5.929, allocations: 49.31 kB / 3.613 GB, free: 58.56 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/5.929, allocations: 71.98 kB / 3.613 GB, free: 58.49 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/5.931, allocations: 0.7753 MB / 3.614 GB, free: 57.69 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/5.931, allocations: 0 / 3.614 GB, free: 57.69 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/5.931, allocations: 28 kB / 3.614 GB, free: 57.66 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/5.931, allocations: 21.31 kB / 3.614 GB, free: 57.64 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/5.932, allocations: 0.6297 MB / 3.615 GB, free: 57.01 MB / 1.167 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.003757/5.936, allocations: 3.379 MB / 3.618 GB, free: 53.34 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/5.936, allocations: 490.3 kB / 3.618 GB, free: 52.86 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/5.937, allocations: 0.677 MB / 3.619 GB, free: 52.04 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/5.937, allocations: 43 kB / 3.619 GB, free: 51.98 MB / 1.167 GB Notification: Performance of pre-optimization done (n=51): time 1.984e-06/5.937, allocations: 0 / 3.619 GB, free: 51.98 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.001571/5.939, allocations: 0.787 MB / 3.62 GB, free: 51.19 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/5.939, allocations: 59.84 kB / 3.62 GB, free: 51.12 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/5.939, allocations: 0.5113 MB / 3.62 GB, free: 50.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/5.939, allocations: 37.7 kB / 3.62 GB, free: 50.56 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/5.94, allocations: 388.2 kB / 3.621 GB, free: 50.18 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/5.94, allocations: 177.4 kB / 3.621 GB, free: 50 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.417e-05/5.94, allocations: 8 kB / 3.621 GB, free: 49.99 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001154/5.94, allocations: 390.7 kB / 3.621 GB, free: 49.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/5.94, allocations: 209 kB / 3.622 GB, free: 49.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/5.941, allocations: 284.1 kB / 3.622 GB, free: 49.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/5.941, allocations: 258.1 kB / 3.622 GB, free: 48.85 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/5.941, allocations: 0 / 3.622 GB, free: 48.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001046/5.942, allocations: 0.6192 MB / 3.623 GB, free: 48.22 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/5.942, allocations: 11.98 kB / 3.623 GB, free: 48.21 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/5.942, allocations: 0 / 3.623 GB, free: 48.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/5.942, allocations: 4 kB / 3.623 GB, free: 48.21 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/5.943, allocations: 115.8 kB / 3.623 GB, free: 48.09 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/5.943, allocations: 4 kB / 3.623 GB, free: 48.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/5.944, allocations: 91.59 kB / 3.623 GB, free: 48 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/5.944, allocations: 20 kB / 3.623 GB, free: 47.98 MB / 1.167 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.000364/5.944, allocations: 257.7 kB / 3.623 GB, free: 47.72 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/5.944, allocations: 79 kB / 3.623 GB, free: 47.64 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/5.945, allocations: 0.6048 MB / 3.624 GB, free: 47.03 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/5.945, allocations: 4 kB / 3.624 GB, free: 47.02 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/5.945, allocations: 7.984 kB / 3.624 GB, free: 47.02 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008199/5.946, allocations: 0.8107 MB / 3.625 GB, free: 46.12 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/5.948, allocations: 1.546 MB / 3.626 GB, free: 44.51 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/5.948, allocations: 0 / 3.626 GB, free: 44.51 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/5.949, allocations: 143.9 kB / 3.626 GB, free: 44.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/5.949, allocations: 7.938 kB / 3.626 GB, free: 44.36 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/5.949, allocations: 19.98 kB / 3.626 GB, free: 44.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/5.949, allocations: 0 / 3.626 GB, free: 44.34 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/5.949, allocations: 7.953 kB / 3.626 GB, free: 44.33 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/5.95, allocations: 0.9835 MB / 3.627 GB, free: 43.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/5.951, allocations: 212 kB / 3.627 GB, free: 43.08 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/5.951, allocations: 15.94 kB / 3.627 GB, free: 43.06 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/5.952, allocations: 63.8 kB / 3.628 GB, free: 43 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/5.952, allocations: 32.39 kB / 3.628 GB, free: 42.97 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/5.952, allocations: 16 kB / 3.628 GB, free: 42.95 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004271/5.952, allocations: 427 kB / 3.628 GB, free: 42.54 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.81e-07/5.952, allocations: 0 / 3.628 GB, free: 42.54 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001229/5.954, allocations: 387.5 kB / 3.628 GB, free: 42.16 MB / 1.167 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.003229/5.957, allocations: 2.871 MB / 3.631 GB, free: 39.23 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009026/5.958, allocations: 0.5054 MB / 3.632 GB, free: 38.71 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/5.958, allocations: 3.938 kB / 3.632 GB, free: 38.71 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/5.958, allocations: 274.8 kB / 3.632 GB, free: 38.45 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/5.96, allocations: 475.3 kB / 3.632 GB, free: 37.99 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006927/5.967, allocations: 5.66 MB / 3.638 GB, free: 32.24 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/5.968, allocations: 1.04 MB / 3.639 GB, free: 31.17 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007887/5.968, allocations: 178.1 kB / 3.639 GB, free: 30.99 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/5.969, allocations: 303.3 kB / 3.639 GB, free: 30.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/5.969, allocations: 0 / 3.639 GB, free: 30.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6181/6.587, allocations: 40.07 MB / 3.678 GB, free: 314.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/6.587, allocations: 232 kB / 3.679 GB, free: 314 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/9.709, allocations: 1.156 kB / 3.679 GB, free: 314 MB / 1.167 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