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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.277/2.277, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001801/0.0018, allocations: 188 kB / 0.4902 GB, free: 2.258 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.66/1.66, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001111/0.001111, allocations: 104.2 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006179/0.0006178, allocations: 7 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.348, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.311/5.659, allocations: 1.921 GB / 3.151 GB, free: 31.58 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/5.659, allocations: 92.39 kB / 3.151 GB, free: 31.53 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.825/7.484, allocations: 478.1 MB / 3.618 GB, free: 24.68 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.014e-06/7.484, allocations: 0 / 3.618 GB, free: 24.68 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001279/7.485, allocations: 24 kB / 3.618 GB, free: 24.66 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.003786/7.488, allocations: 1.309 MB / 3.619 GB, free: 23.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/7.488, allocations: 8.562 kB / 3.619 GB, free: 23.29 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003444/7.489, allocations: 122.4 kB / 3.619 GB, free: 23.16 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/7.491, allocations: 306.5 kB / 3.619 GB, free: 22.86 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/7.493, allocations: 0.7887 MB / 3.62 GB, free: 22.03 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/7.493, allocations: 53.31 kB / 3.62 GB, free: 21.98 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/7.494, allocations: 68 kB / 3.62 GB, free: 21.91 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/7.495, allocations: 0.7754 MB / 3.621 GB, free: 21.11 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/7.495, allocations: 3.938 kB / 3.621 GB, free: 21.11 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.408e-05/7.495, allocations: 28 kB / 3.621 GB, free: 21.08 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/7.495, allocations: 21.31 kB / 3.621 GB, free: 21.06 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/7.497, allocations: 0.6335 MB / 3.622 GB, free: 20.43 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.004329/7.501, allocations: 3.371 MB / 3.625 GB, free: 16.77 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/7.502, allocations: 496.8 kB / 3.625 GB, free: 16.27 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/7.502, allocations: 0.677 MB / 3.626 GB, free: 15.45 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/7.502, allocations: 39 kB / 3.626 GB, free: 15.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=51): time 3.426e-06/7.502, allocations: 0 / 3.626 GB, free: 15.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=51): time 0.001691/7.504, allocations: 0.7754 MB / 3.627 GB, free: 14.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/7.504, allocations: 59.84 kB / 3.627 GB, free: 14.55 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/7.505, allocations: 0.5191 MB / 3.628 GB, free: 14.02 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/7.505, allocations: 41.64 kB / 3.628 GB, free: 13.97 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/7.505, allocations: 384.2 kB / 3.628 GB, free: 13.59 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/7.505, allocations: 185.3 kB / 3.628 GB, free: 13.41 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/7.505, allocations: 8 kB / 3.628 GB, free: 13.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001146/7.505, allocations: 386.8 kB / 3.628 GB, free: 13.01 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/7.506, allocations: 205 kB / 3.629 GB, free: 12.81 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/7.506, allocations: 284 kB / 3.629 GB, free: 12.51 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/7.507, allocations: 254.1 kB / 3.629 GB, free: 12.27 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/7.507, allocations: 0 / 3.629 GB, free: 12.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001004/7.508, allocations: 0.6231 MB / 3.63 GB, free: 11.64 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/7.508, allocations: 4.938 kB / 3.63 GB, free: 11.63 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/7.508, allocations: 0 / 3.63 GB, free: 11.63 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/7.508, allocations: 12.11 kB / 3.63 GB, free: 11.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/7.508, allocations: 119.8 kB / 3.63 GB, free: 11.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/7.508, allocations: 4 kB / 3.63 GB, free: 11.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009633/7.509, allocations: 87.48 kB / 3.63 GB, free: 11.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/7.509, allocations: 19.98 kB / 3.63 GB, free: 11.39 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.0004129/7.51, allocations: 261.7 kB / 3.63 GB, free: 11.13 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/7.51, allocations: 75.06 kB / 3.63 GB, free: 11.05 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009915/7.511, allocations: 0.601 MB / 3.631 GB, free: 10.45 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/7.511, allocations: 4 kB / 3.631 GB, free: 10.44 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/7.511, allocations: 7.891 kB / 3.631 GB, free: 10.43 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007956/7.512, allocations: 0.8068 MB / 3.632 GB, free: 9.543 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/7.514, allocations: 1.554 MB / 3.633 GB, free: 7.918 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/7.514, allocations: 7.938 kB / 3.633 GB, free: 7.91 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/7.515, allocations: 135.9 kB / 3.633 GB, free: 7.777 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/7.515, allocations: 3.953 kB / 3.633 GB, free: 7.773 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/7.515, allocations: 16 kB / 3.633 GB, free: 7.758 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/7.515, allocations: 0 / 3.633 GB, free: 7.758 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/7.515, allocations: 4 kB / 3.633 GB, free: 7.754 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/7.516, allocations: 0.9879 MB / 3.634 GB, free: 6.723 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/7.517, allocations: 216 kB / 3.635 GB, free: 6.492 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/7.517, allocations: 23.98 kB / 3.635 GB, free: 6.469 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007758/7.518, allocations: 51.97 kB / 3.635 GB, free: 6.418 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/7.518, allocations: 32.39 kB / 3.635 GB, free: 6.387 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/7.518, allocations: 19.98 kB / 3.635 GB, free: 6.367 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004689/7.518, allocations: 423 kB / 3.635 GB, free: 5.957 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/7.518, allocations: 0 / 3.635 GB, free: 5.957 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001319/7.52, allocations: 395.3 kB / 3.635 GB, free: 5.57 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.003537/7.523, allocations: 2.871 MB / 3.638 GB, free: 2.641 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009504/7.524, allocations: 0.5095 MB / 3.639 GB, free: 2.129 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/7.524, allocations: 0 / 3.639 GB, free: 2.129 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/7.525, allocations: 270.3 kB / 3.639 GB, free: 1.863 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/7.527, allocations: 469 kB / 3.639 GB, free: 1.414 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7355/8.262, allocations: 5.644 MB / 3.645 GB, free: 308 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/8.263, allocations: 1.042 MB / 3.646 GB, free: 307.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001015/8.264, allocations: 184.9 kB / 3.646 GB, free: 307.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/8.264, allocations: 298.2 kB / 3.646 GB, free: 307.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.002e-06/8.264, allocations: 1.094 kB / 3.646 GB, free: 307.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/8.373, allocations: 40.09 MB / 3.686 GB, free: 306.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/8.374, allocations: 251.3 kB / 3.686 GB, free: 306.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/11.83, allocations: 0 / 3.686 GB, free: 306.6 MB / 1.167 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) 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