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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.00154, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001682, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.51/2.51, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.629/4.629, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006001/0.0006003, allocations: 16 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512/1.513, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3137/1.827, allocations: 168.8 MB / 1.146 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01785/1.844, allocations: 6.529 MB / 1.152 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/1.847, allocations: 27.81 kB / 1.152 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003391/1.85, allocations: 0.6611 MB / 1.153 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009455/1.86, allocations: 2.076 MB / 1.155 GB, free: 3.824 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.00452/1.864, allocations: 0.7878 MB / 1.156 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006314/1.871, allocations: 1.859 MB / 1.157 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/1.873, allocations: 0.8249 MB / 1.158 GB, free: 356 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/1.878, allocations: 1.141 MB / 1.159 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/1.881, allocations: 0.6499 MB / 1.16 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003397/1.881, allocations: 56 kB / 1.16 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/1.886, allocations: 0.8659 MB / 1.161 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00129/1.888, allocations: 398.9 kB / 1.161 GB, free: 13.24 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/1.889, allocations: 289.1 kB / 1.161 GB, free: 12.95 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/1.894, allocations: 1.641 MB / 1.163 GB, free: 11.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.894, allocations: 3.938 kB / 1.163 GB, free: 11.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.168e-06/1.894, allocations: 0 / 1.163 GB, free: 11.3 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.886e-05/1.894, allocations: 0 / 1.163 GB, free: 11.3 MB / 0.92 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.007802/1.902, allocations: 1.484 MB / 1.164 GB, free: 9.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.107e-05/1.902, allocations: 8.031 kB / 1.164 GB, free: 9.754 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000769/1.903, allocations: 160.6 kB / 1.165 GB, free: 9.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00449/1.907, allocations: 358.1 kB / 1.165 GB, free: 9.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/1.91, allocations: 0.8159 MB / 1.166 GB, free: 8.375 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.91, allocations: 74.02 kB / 1.166 GB, free: 8.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/1.911, allocations: 104 kB / 1.166 GB, free: 8.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/1.915, allocations: 1.175 MB / 1.167 GB, free: 6.992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/1.915, allocations: 0 / 1.167 GB, free: 6.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/1.915, allocations: 51.97 kB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/1.915, allocations: 62.02 kB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/1.918, allocations: 1.242 MB / 1.168 GB, free: 5.629 MB / 0.92 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.009832/1.928, allocations: 5.071 MB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/1.929, allocations: 1.147 MB / 1.175 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.551e-05/1.93, allocations: 20.78 kB / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008701/1.93, allocations: 484.1 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 4.058e-06/1.93, allocations: 0 / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.002622/1.933, allocations: 1.157 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/1.933, allocations: 64.06 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/1.934, allocations: 0.5705 MB / 1.177 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/1.934, allocations: 41.7 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/1.935, allocations: 459.6 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/1.935, allocations: 272.1 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/1.935, allocations: 16 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002542/1.935, allocations: 386.8 kB / 1.178 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/1.936, allocations: 329.8 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/1.937, allocations: 452.6 kB / 1.179 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/1.937, allocations: 395.1 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.937, allocations: 0 / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001693/1.939, allocations: 0.9338 MB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.939, allocations: 11.95 kB / 1.18 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.939, allocations: 0 / 1.18 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/1.939, allocations: 11.94 kB / 1.18 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/1.94, allocations: 151.8 kB / 1.18 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.94, allocations: 4 kB / 1.18 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.941, allocations: 159.3 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/1.941, allocations: 28 kB / 1.18 GB, free: 8.883 MB / 0.9356 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.0008069/1.942, allocations: 329.5 kB / 1.181 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/1.942, allocations: 83.06 kB / 1.181 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/1.943, allocations: 107.7 kB / 1.181 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.943, allocations: 12 kB / 1.181 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/1.943, allocations: 3.938 kB / 1.181 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/1.944, allocations: 1.097 MB / 1.182 GB, free: 7.164 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.004452/1.949, allocations: 2.273 MB / 1.184 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.949, allocations: 0 / 1.184 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.95, allocations: 175.8 kB / 1.184 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/1.95, allocations: 11.97 kB / 1.184 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/1.95, allocations: 16 kB / 1.184 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1.95, allocations: 0 / 1.184 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.95, allocations: 4 kB / 1.184 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/1.953, allocations: 1.36 MB / 1.186 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008051/1.953, allocations: 260 kB / 1.186 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.953, allocations: 20 kB / 1.186 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/1.954, allocations: 91.84 kB / 1.186 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.955, allocations: 48.59 kB / 1.186 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/1.955, allocations: 23.98 kB / 1.186 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007676/1.955, allocations: 403.1 kB / 1.186 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.71e-07/1.955, allocations: 0 / 1.186 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001272/1.957, allocations: 371 kB / 1.187 GB, free: 2.008 MB / 0.9356 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.00303/1.96, allocations: 2.051 MB / 1.189 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001792/1.962, allocations: 0.798 MB / 1.19 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.962, allocations: 0 / 1.19 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006346/1.962, allocations: 427.5 kB / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/1.965, allocations: 0.5497 MB / 1.19 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.978, allocations: 7.487 MB / 1.198 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.98, allocations: 1.159 MB / 1.199 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001364/1.981, allocations: 275.1 kB / 1.199 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/1.982, allocations: 383.2 kB / 1.2 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of SimCode: time 1.613e-06/1.982, allocations: 0 / 1.2 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/2.05, allocations: 25.81 MB / 1.225 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/2.05, allocations: 184.8 kB / 1.225 GB, free: 11 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/6.04, allocations: 4.938 kB / 1.225 GB, free: 10.99 MB / 0.9825 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) Environment - environmentSimulation: 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