Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.427/2.427, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.00132/0.00132, allocations: 180 kB / 0.4901 GB, free: 2.285 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.561/1.561, 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.0008418/0.0008419, allocations: 110.4 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003834, allocations: 10.28 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3138, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.483/4.797, allocations: 1.923 GB / 3.152 GB, free: 30.32 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/4.797, allocations: 89.78 kB / 3.152 GB, free: 30.27 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.7/7.497, allocations: 0.6161 GB / 3.768 GB, free: 292.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/7.497, allocations: 3.219 kB / 3.768 GB, free: 292.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001358/7.497, allocations: 23.22 kB / 3.768 GB, free: 292.4 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006553/7.503, allocations: 1.674 MB / 3.77 GB, free: 291.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/7.503, allocations: 11.44 kB / 3.77 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005521/7.504, allocations: 170.5 kB / 3.77 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/7.507, allocations: 330.4 kB / 3.771 GB, free: 291.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/7.509, allocations: 0.8643 MB / 3.771 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/7.509, allocations: 77 kB / 3.771 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/7.509, allocations: 102.3 kB / 3.772 GB, free: 291.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/7.512, allocations: 1.119 MB / 3.773 GB, free: 291.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/7.512, allocations: 0 / 3.773 GB, free: 291.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/7.512, allocations: 41.97 kB / 3.773 GB, free: 291.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-05/7.512, allocations: 61.23 kB / 3.773 GB, free: 291.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/7.514, allocations: 1.172 MB / 3.774 GB, free: 291.3 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.00704/7.521, allocations: 5.057 MB / 3.779 GB, free: 288.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/7.522, allocations: 0.971 MB / 3.78 GB, free: 288.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.839e-05/7.522, allocations: 21.3 kB / 3.78 GB, free: 288.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/7.523, allocations: 492.6 kB / 3.78 GB, free: 288.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/7.523, allocations: 0 / 3.78 GB, free: 288.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.001974/7.525, allocations: 1.181 MB / 3.781 GB, free: 288.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/7.525, allocations: 59.56 kB / 3.781 GB, free: 288.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000769/7.526, allocations: 0.5087 MB / 3.782 GB, free: 288.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/7.526, allocations: 40.77 kB / 3.782 GB, free: 288.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/7.526, allocations: 466.1 kB / 3.782 GB, free: 288 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/7.527, allocations: 274.1 kB / 3.783 GB, free: 287.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/7.527, allocations: 11.88 kB / 3.783 GB, free: 287.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001341/7.527, allocations: 391.2 kB / 3.783 GB, free: 287.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/7.527, allocations: 334.8 kB / 3.783 GB, free: 287.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/7.528, allocations: 449.7 kB / 3.784 GB, free: 287.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/7.528, allocations: 406.5 kB / 3.784 GB, free: 287.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/7.528, allocations: 0 / 3.784 GB, free: 287.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001383/7.53, allocations: 0.9472 MB / 3.785 GB, free: 287.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/7.53, allocations: 9.844 kB / 3.785 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/7.53, allocations: 3.938 kB / 3.785 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/7.53, allocations: 7.125 kB / 3.785 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/7.53, allocations: 151.2 kB / 3.785 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/7.53, allocations: 13.09 kB / 3.785 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/7.532, allocations: 162.8 kB / 3.786 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/7.532, allocations: 27.3 kB / 3.786 GB, free: 287.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005987/7.532, allocations: 338.8 kB / 3.786 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/7.533, allocations: 78.12 kB / 3.786 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/7.533, allocations: 112.1 kB / 3.786 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/7.533, allocations: 3.844 kB / 3.786 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/7.533, allocations: 3.906 kB / 3.786 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/7.534, allocations: 1.107 MB / 3.787 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/7.538, allocations: 2.163 MB / 3.789 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.538, allocations: 3.125 kB / 3.789 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008545/7.538, allocations: 170.1 kB / 3.789 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/7.539, allocations: 6.344 kB / 3.789 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/7.539, allocations: 13.81 kB / 3.789 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/7.539, allocations: 7.469 kB / 3.789 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/7.539, allocations: 2.25 kB / 3.789 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/7.54, allocations: 1.384 MB / 3.791 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006361/7.541, allocations: 262.3 kB / 3.791 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/7.541, allocations: 15.62 kB / 3.791 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/7.542, allocations: 96.98 kB / 3.791 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/7.542, allocations: 45.52 kB / 3.791 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/7.542, allocations: 26.3 kB / 3.791 GB, free: 285.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005296/7.543, allocations: 411.6 kB / 3.792 GB, free: 285.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/7.543, allocations: 0 / 3.792 GB, free: 285.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002261/7.545, allocations: 0.5134 MB / 3.792 GB, free: 285.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.004979/7.55, allocations: 3.49 MB / 3.796 GB, free: 283.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001242/7.552, allocations: 0.8121 MB / 3.796 GB, free: 283.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/7.552, allocations: 8.891 kB / 3.796 GB, free: 283.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005127/7.552, allocations: 435.2 kB / 3.797 GB, free: 283.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/7.555, allocations: 0.5589 MB / 3.797 GB, free: 283.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/7.567, allocations: 7.549 MB / 3.805 GB, free: 278.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008493/7.568, allocations: 1.158 MB / 3.806 GB, free: 278 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001335/7.569, allocations: 281.8 kB / 3.806 GB, free: 278 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006422/7.57, allocations: 382.6 kB / 3.806 GB, free: 277.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.12e-07/7.57, allocations: 0 / 3.806 GB, free: 277.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07779/7.647, allocations: 50.77 MB / 3.856 GB, free: 231.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/7.648, allocations: 179.2 kB / 3.856 GB, free: 231.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.854/11.5, allocations: 3.938 kB / 3.856 GB, free: 231.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat does not exist to compare? outputFormat=mat