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.0009933/0.0009935, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001111/0.001111, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.476/2.476, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 12 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.7488, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2063/0.9552, allocations: 185.9 MB / 1.163 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.9658, allocations: 5.979 MB / 1.169 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.9673, allocations: 31.81 kB / 1.169 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.9689, allocations: 485.1 kB / 1.169 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.9742, allocations: 1.94 MB / 1.171 GB, free: 3.387 MB / 0.92 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.001562/0.9758, allocations: 499.2 kB / 1.171 GB, free: 2.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004897/0.9807, allocations: 4.027 MB / 1.175 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.9821, allocations: 0.8131 MB / 1.176 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.9844, allocations: 1.066 MB / 1.177 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.9868, allocations: 1.047 MB / 1.178 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.987, allocations: 56 kB / 1.178 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00447/0.9915, allocations: 1.126 MB / 1.179 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006374/0.9921, allocations: 446.7 kB / 1.18 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.9927, allocations: 297 kB / 1.18 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.9953, allocations: 1.835 MB / 1.182 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9953, allocations: 4 kB / 1.182 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9953, allocations: 0 / 1.182 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.9953, allocations: 0 / 1.182 GB, free: 8.16 MB / 0.9356 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.003555/0.9989, allocations: 1.531 MB / 1.183 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.9989, allocations: 12.03 kB / 1.183 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.9992, allocations: 172.6 kB / 1.184 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/1.001, allocations: 342.2 kB / 1.184 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/1.002, allocations: 0.816 MB / 1.185 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/1.003, allocations: 74.02 kB / 1.185 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.003, allocations: 104 kB / 1.185 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/1.005, allocations: 1.187 MB / 1.186 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.005, allocations: 4 kB / 1.186 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.005, allocations: 47.98 kB / 1.186 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.275e-05/1.005, allocations: 58.08 kB / 1.186 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/1.007, allocations: 1.238 MB / 1.187 GB, free: 2.438 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 preOpt removeSimpleEquations (simulation): time 0.006168/1.013, allocations: 5.079 MB / 1.192 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.014, allocations: 1.154 MB / 1.193 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006894/1.015, allocations: 0.4973 MB / 1.194 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.435e-05/1.015, allocations: 16.78 kB / 1.194 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007323/1.016, allocations: 492.1 kB / 1.194 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 4.178e-06/1.016, allocations: 8 kB / 1.194 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.001891/1.018, allocations: 1.145 MB / 1.195 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.018, allocations: 64.05 kB / 1.196 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/1.018, allocations: 0.5667 MB / 1.196 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/1.019, allocations: 41.7 kB / 1.196 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/1.019, allocations: 467.5 kB / 1.197 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/1.019, allocations: 260.2 kB / 1.197 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/1.019, allocations: 16 kB / 1.197 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.019, allocations: 386.8 kB / 1.197 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/1.02, allocations: 329.8 kB / 1.198 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/1.02, allocations: 444.7 kB / 1.198 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/1.021, allocations: 403 kB / 1.198 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.021, allocations: 0 / 1.198 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001301/1.022, allocations: 0.9257 MB / 1.199 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.022, allocations: 11.95 kB / 1.199 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.022, allocations: 0 / 1.199 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.022, allocations: 11.94 kB / 1.199 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/1.023, allocations: 155.8 kB / 1.199 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.023, allocations: 7.938 kB / 1.199 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/1.024, allocations: 159.5 kB / 1.2 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/1.024, allocations: 28 kB / 1.2 GB, free: 5.188 MB / 0.9512 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.0004676/1.024, allocations: 329.5 kB / 1.2 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.025, allocations: 87.06 kB / 1.2 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/1.025, allocations: 111.7 kB / 1.2 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/1.025, allocations: 8 kB / 1.2 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.025, allocations: 0 / 1.2 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/1.026, allocations: 1.089 MB / 1.201 GB, free: 3.473 MB / 0.9512 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.003291/1.029, allocations: 2.312 MB / 1.203 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.029, allocations: 0 / 1.203 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/1.03, allocations: 175.7 kB / 1.204 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.03, allocations: 4 kB / 1.204 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/1.03, allocations: 19.98 kB / 1.204 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.03, allocations: 4 kB / 1.204 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.03, allocations: 0 / 1.204 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/1.032, allocations: 1.354 MB / 1.205 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/1.032, allocations: 260 kB / 1.205 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.033, allocations: 16 kB / 1.205 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/1.033, allocations: 97.78 kB / 1.205 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/1.033, allocations: 40.59 kB / 1.205 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/1.033, allocations: 27.98 kB / 1.205 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004499/1.034, allocations: 403.1 kB / 1.206 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/1.034, allocations: 8 kB / 1.206 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009034/1.035, allocations: 363.1 kB / 1.206 GB, free: 14.29 MB / 0.9669 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.002103/1.037, allocations: 1.977 MB / 1.208 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.038, allocations: 0.798 MB / 1.209 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.038, allocations: 4.688 kB / 1.209 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/1.039, allocations: 423.5 kB / 1.209 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.041, allocations: 0.5565 MB / 1.21 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00831/1.049, allocations: 5.873 MB / 1.215 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/1.05, allocations: 1.14 MB / 1.217 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001127/1.051, allocations: 279.1 kB / 1.217 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/1.052, allocations: 371.3 kB / 1.217 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of SimCode: time 8.71e-07/1.052, allocations: 0 / 1.217 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/1.093, allocations: 25.88 MB / 1.242 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/1.094, allocations: 201.9 kB / 1.243 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.319, allocations: 0 / 1.243 GB, free: 8.938 MB / 0.9981 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