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.32/2.32, allocations: 390.5 MB / 398 MB, free: 10.94 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.001426/0.001426, allocations: 172.9 kB / 491.2 MB, free: 1.555 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.542/1.542, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001005/0.001005, allocations: 87.95 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.452e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2799, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.083/5.363, allocations: 1.921 GB / 3.133 GB, free: 343.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/5.363, allocations: 85.08 kB / 3.133 GB, free: 343.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.644/7.007, allocations: 472.5 MB / 3.595 GB, free: 309 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.242e-06/7.007, allocations: 0 / 3.595 GB, free: 309 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001205/7.007, allocations: 25 kB / 3.595 GB, free: 309 MB / 1.151 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.003129/7.01, allocations: 1.153 MB / 3.596 GB, free: 308.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/7.01, allocations: 11.75 kB / 3.596 GB, free: 308.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/7.013, allocations: 312.4 kB / 3.596 GB, free: 308.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/7.015, allocations: 0.7639 MB / 3.597 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/7.015, allocations: 21.84 kB / 3.597 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/7.015, allocations: 48.75 kB / 3.597 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001378/7.017, allocations: 0.5382 MB / 3.597 GB, free: 307.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/7.018, allocations: 0.6419 MB / 3.598 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.632e-05/7.018, allocations: 6.906 kB / 3.598 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/7.018, allocations: 0 / 3.598 GB, free: 307.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/7.018, allocations: 23.59 kB / 3.598 GB, free: 307.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004501/7.023, allocations: 3.241 MB / 3.601 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/7.024, allocations: 442.9 kB / 3.602 GB, free: 304.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/7.024, allocations: 245 kB / 3.602 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/7.025, allocations: 0.6798 MB / 3.603 GB, free: 304 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/7.025, allocations: 42.19 kB / 3.603 GB, free: 303.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=51): time 3.176e-06/7.025, allocations: 0 / 3.603 GB, free: 303.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=51): time 0.001158/7.026, allocations: 0.4997 MB / 3.603 GB, free: 303.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/7.026, allocations: 59.44 kB / 3.603 GB, free: 303.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/7.026, allocations: 457.2 kB / 3.604 GB, free: 303.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/7.027, allocations: 25.7 kB / 3.604 GB, free: 303.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/7.027, allocations: 392.1 kB / 3.604 GB, free: 303.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/7.027, allocations: 178.6 kB / 3.604 GB, free: 303 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/7.027, allocations: 0 / 3.604 GB, free: 303 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001248/7.027, allocations: 379.4 kB / 3.605 GB, free: 302.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/7.027, allocations: 171.4 kB / 3.605 GB, free: 302.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/7.028, allocations: 246.2 kB / 3.605 GB, free: 302.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/7.028, allocations: 213.5 kB / 3.605 GB, free: 302.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/7.028, allocations: 3.5 kB / 3.605 GB, free: 302.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007807/7.029, allocations: 0.5289 MB / 3.606 GB, free: 302.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/7.029, allocations: 3.281 kB / 3.606 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/7.029, allocations: 3.344 kB / 3.606 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/7.029, allocations: 6.688 kB / 3.606 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/7.029, allocations: 119.1 kB / 3.606 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/7.029, allocations: 3.906 kB / 3.606 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009246/7.03, allocations: 78.88 kB / 3.606 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/7.03, allocations: 18.44 kB / 3.606 GB, free: 302.1 MB / 1.151 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 () * 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.0001264/7.03, allocations: 116 kB / 3.606 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007106/7.031, allocations: 489.2 kB / 3.606 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/7.031, allocations: 74.62 kB / 3.607 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/7.032, allocations: 0.5044 MB / 3.607 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/7.032, allocations: 3.344 kB / 3.607 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/7.032, allocations: 3.938 kB / 3.607 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005979/7.033, allocations: 0.732 MB / 3.608 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/7.035, allocations: 1.37 MB / 3.609 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/7.035, allocations: 0 / 3.609 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/7.036, allocations: 146.2 kB / 3.609 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/7.036, allocations: 0 / 3.609 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.59e-05/7.036, allocations: 11.94 kB / 3.609 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/7.036, allocations: 6.953 kB / 3.609 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/7.036, allocations: 7.125 kB / 3.609 GB, free: 300.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/7.037, allocations: 0.864 MB / 3.61 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004071/7.037, allocations: 211.2 kB / 3.61 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/7.038, allocations: 6.719 kB / 3.61 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/7.038, allocations: 52.78 kB / 3.61 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/7.038, allocations: 37.88 kB / 3.61 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/7.038, allocations: 19.16 kB / 3.61 GB, free: 299.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004577/7.039, allocations: 360.3 kB / 3.611 GB, free: 299.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.039, allocations: 0 / 3.611 GB, free: 299.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001238/7.04, allocations: 349.1 kB / 3.611 GB, free: 299.3 MB / 1.151 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 () * 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.00325/7.043, allocations: 2.879 MB / 3.614 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007094/7.044, allocations: 436.7 kB / 3.614 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/7.044, allocations: 0 / 3.614 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/7.044, allocations: 245.8 kB / 3.615 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/7.047, allocations: 426.7 kB / 3.615 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/7.05, allocations: 1.644 MB / 3.617 GB, free: 296.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/7.05, allocations: 1.046 MB / 3.618 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007934/7.051, allocations: 174.8 kB / 3.618 GB, free: 296.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/7.052, allocations: 292.9 kB / 3.618 GB, free: 295.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/7.052, allocations: 0 / 3.618 GB, free: 295.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05946/7.111, allocations: 28.9 MB / 3.646 GB, free: 279.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/7.111, allocations: 201.8 kB / 3.646 GB, free: 279.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/10.17, allocations: 1.875 kB / 3.646 GB, free: 279.3 MB / 1.151 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