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.51/2.51, allocations: 390.5 MB / 398 MB, free: 10.92 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.00118/0.00118, allocations: 180.9 kB / 491.2 MB, free: 1.543 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.787/1.787, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001076/0.001077, allocations: 80.03 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.753e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.394, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.592/6.986, allocations: 1.922 GB / 3.135 GB, free: 343.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/6.986, allocations: 90.97 kB / 3.135 GB, free: 343.5 MB / 1.151 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 1.936/8.922, allocations: 0.6091 GB / 3.744 GB, free: 180.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/8.922, allocations: 3.938 kB / 3.744 GB, free: 180.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.797e-05/8.922, allocations: 28 kB / 3.744 GB, free: 180.2 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004097/8.927, allocations: 1.544 MB / 3.745 GB, free: 178.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/8.927, allocations: 8.031 kB / 3.745 GB, free: 178.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/8.929, allocations: 338.1 kB / 3.746 GB, free: 178.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/8.93, allocations: 0.8627 MB / 3.747 GB, free: 177.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/8.93, allocations: 36 kB / 3.747 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/8.93, allocations: 60 kB / 3.747 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/8.932, allocations: 0.9958 MB / 3.748 GB, free: 176.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/8.933, allocations: 0.9529 MB / 3.749 GB, free: 175.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/8.933, allocations: 3.906 kB / 3.749 GB, free: 175.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/8.933, allocations: 0 / 3.749 GB, free: 175.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/8.934, allocations: 62.06 kB / 3.749 GB, free: 175.2 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.005066/8.939, allocations: 4.859 MB / 3.753 GB, free: 169.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/8.941, allocations: 3.4 MB / 3.757 GB, free: 166 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/8.941, allocations: 447.3 kB / 3.757 GB, free: 165.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/8.941, allocations: 20.91 kB / 3.757 GB, free: 165.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005118/8.942, allocations: 408.4 kB / 3.758 GB, free: 165.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/8.942, allocations: 0 / 3.758 GB, free: 165.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.00114/8.943, allocations: 0.7024 MB / 3.758 GB, free: 164.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/8.943, allocations: 60.19 kB / 3.758 GB, free: 164.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/8.943, allocations: 414.4 kB / 3.759 GB, free: 163.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/8.943, allocations: 25.7 kB / 3.759 GB, free: 163.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/8.944, allocations: 475.4 kB / 3.759 GB, free: 163.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/8.944, allocations: 252.2 kB / 3.759 GB, free: 163.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/8.944, allocations: 0 / 3.759 GB, free: 163.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001159/8.944, allocations: 378.8 kB / 3.76 GB, free: 162.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/8.944, allocations: 261.5 kB / 3.76 GB, free: 162.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/8.945, allocations: 377.2 kB / 3.76 GB, free: 162.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/8.945, allocations: 332.4 kB / 3.761 GB, free: 161.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/8.945, allocations: 4 kB / 3.761 GB, free: 161.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009027/8.946, allocations: 0.7609 MB / 3.761 GB, free: 161 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/8.946, allocations: 4 kB / 3.761 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/8.946, allocations: 4 kB / 3.761 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/8.946, allocations: 8.344 kB / 3.761 GB, free: 161 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/8.947, allocations: 163.7 kB / 3.762 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/8.947, allocations: 7.984 kB / 3.762 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/8.948, allocations: 135.3 kB / 3.762 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/8.948, allocations: 32 kB / 3.762 GB, free: 160.6 MB / 1.151 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 () * 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.0001254/8.948, allocations: 117.7 kB / 3.762 GB, free: 160.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008055/8.949, allocations: 0.6868 MB / 3.763 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/8.949, allocations: 79.14 kB / 3.763 GB, free: 159.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/8.949, allocations: 87.44 kB / 3.763 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/8.949, allocations: 8 kB / 3.763 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/8.949, allocations: 0 / 3.763 GB, free: 159.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008089/8.95, allocations: 0.9592 MB / 3.764 GB, free: 158.6 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 postOpt removeSimpleEquations (simulation): time 0.002679/8.953, allocations: 2.49 MB / 3.766 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/8.953, allocations: 4 kB / 3.766 GB, free: 155.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/8.953, allocations: 179.8 kB / 3.766 GB, free: 155.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/8.953, allocations: 4 kB / 3.766 GB, free: 155.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/8.953, allocations: 4 kB / 3.766 GB, free: 155.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/8.953, allocations: 0 / 3.766 GB, free: 155.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/8.953, allocations: 4 kB / 3.766 GB, free: 155.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/8.955, allocations: 1.165 MB / 3.767 GB, free: 154.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/8.955, allocations: 236.1 kB / 3.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/8.955, allocations: 0 / 3.768 GB, free: 154.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/8.956, allocations: 99.75 kB / 3.768 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/8.956, allocations: 44.67 kB / 3.768 GB, free: 154.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/8.956, allocations: 23.98 kB / 3.768 GB, free: 154.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000316/8.956, allocations: 330.9 kB / 3.768 GB, free: 153.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/8.956, allocations: 0 / 3.768 GB, free: 153.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001129/8.957, allocations: 450.9 kB / 3.769 GB, free: 153.4 MB / 1.151 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 () * 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.003365/8.961, allocations: 3.475 MB / 3.772 GB, free: 149.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008946/8.962, allocations: 0.6572 MB / 3.773 GB, free: 149.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/8.962, allocations: 0 / 3.773 GB, free: 149.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/8.962, allocations: 354.8 kB / 3.773 GB, free: 148.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/8.964, allocations: 497.5 kB / 3.773 GB, free: 148.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/8.968, allocations: 1.947 MB / 3.775 GB, free: 146.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/8.968, allocations: 1.155 MB / 3.776 GB, free: 145.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008666/8.969, allocations: 254.6 kB / 3.777 GB, free: 144.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/8.97, allocations: 379.3 kB / 3.777 GB, free: 144.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.372e-06/8.97, allocations: 0 / 3.777 GB, free: 144.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06833/9.038, allocations: 35.56 MB / 3.812 GB, free: 109.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/9.038, allocations: 135.4 kB / 3.812 GB, free: 108.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/12.28, allocations: 0 / 3.812 GB, free: 108.9 MB / 1.151 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