Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 218.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 66.67 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 169.9 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2494/0.5754, allocations: 208.3 MB / 1.487 GB, free: 10.67 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0126/0.588, allocations: 6.427 MB / 1.493 GB, free: 4.234 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.5897, allocations: 47.62 kB / 1.493 GB, free: 4.188 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.592, allocations: 0.7655 MB / 1.494 GB, free: 3.418 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008018/0.6, allocations: 2.82 MB / 1.497 GB, free: 0.5859 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.002268/0.6023, allocations: 0.7482 MB / 1.497 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005162/0.6074, allocations: 3.345 MB / 1.501 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.6091, allocations: 0.8207 MB / 1.501 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.6119, allocations: 1.308 MB / 1.503 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.6148, allocations: 1.165 MB / 1.504 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000383/0.6152, allocations: 128 kB / 1.504 GB, free: 9.035 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.6206, allocations: 2.564 MB / 1.506 GB, free: 6.465 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008727/0.6215, allocations: 0.5298 MB / 1.507 GB, free: 5.934 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.6232, allocations: 0.743 MB / 1.508 GB, free: 5.188 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006079/0.6292, allocations: 2.804 MB / 1.51 GB, free: 2.375 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6292, allocations: 0 / 1.51 GB, free: 2.375 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6292, allocations: 3.938 kB / 1.51 GB, free: 2.371 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.239e-05/0.6293, allocations: 0 / 1.51 GB, free: 2.371 MB / 1.201 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.005003/0.6343, allocations: 1.738 MB / 1.512 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.6344, allocations: 12.03 kB / 1.512 GB, free: 0.582 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000302/0.6347, allocations: 160.6 kB / 1.512 GB, free: 424 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.637, allocations: 350.9 kB / 1.513 GB, free: 72 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.6389, allocations: 0.818 MB / 1.513 GB, free: 15.23 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.639, allocations: 78 kB / 1.514 GB, free: 15.15 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.6392, allocations: 100 kB / 1.514 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.6415, allocations: 1.195 MB / 1.515 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.6415, allocations: 3.984 kB / 1.515 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.6417, allocations: 43.98 kB / 1.515 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.747e-05/0.6418, allocations: 58.08 kB / 1.515 GB, free: 13.72 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.6441, allocations: 1.246 MB / 1.516 GB, free: 12.46 MB / 1.217 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.008482/0.6526, allocations: 5.052 MB / 1.521 GB, free: 6.957 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.6541, allocations: 0.838 MB / 1.522 GB, free: 6.113 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.6549, allocations: 489.4 kB / 1.522 GB, free: 5.633 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.6549, allocations: 16.62 kB / 1.522 GB, free: 5.617 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008262/0.6557, allocations: 488.2 kB / 1.523 GB, free: 5.129 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 2.494e-06/0.6558, allocations: 0 / 1.523 GB, free: 5.129 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.002188/0.6579, allocations: 1.165 MB / 1.524 GB, free: 3.957 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.658, allocations: 60.06 kB / 1.524 GB, free: 3.887 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.6589, allocations: 0.5744 MB / 1.525 GB, free: 3.305 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.47e-05/0.659, allocations: 37.7 kB / 1.525 GB, free: 3.262 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.6594, allocations: 476.6 kB / 1.525 GB, free: 2.789 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.6597, allocations: 285.5 kB / 1.525 GB, free: 2.508 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.6599, allocations: 126.7 kB / 1.525 GB, free: 2.379 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.6601, allocations: 390.8 kB / 1.526 GB, free: 1.988 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.6607, allocations: 329.8 kB / 1.526 GB, free: 1.664 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.6613, allocations: 452.7 kB / 1.527 GB, free: 1.188 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.6626, allocations: 0.8232 MB / 1.527 GB, free: 336 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.6626, allocations: 4 kB / 1.527 GB, free: 332 kB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001605/0.6642, allocations: 0.9381 MB / 1.528 GB, free: 15.38 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6642, allocations: 10.44 kB / 1.528 GB, free: 15.37 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6642, allocations: 4 kB / 1.528 GB, free: 15.37 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.6642, allocations: 4 kB / 1.528 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.6649, allocations: 155.8 kB / 1.528 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.665, allocations: 15.92 kB / 1.528 GB, free: 15.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.6657, allocations: 63.45 kB / 1.529 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.6658, allocations: 24 kB / 1.529 GB, free: 15.11 MB / 1.232 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005395/0.6663, allocations: 329.7 kB / 1.529 GB, free: 14.78 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.6665, allocations: 91.42 kB / 1.529 GB, free: 14.69 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.6668, allocations: 107.8 kB / 1.529 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.6668, allocations: 8 kB / 1.529 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.6668, allocations: 0 / 1.529 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/0.6682, allocations: 1.093 MB / 1.53 GB, free: 13.39 MB / 1.232 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.003737/0.6719, allocations: 2.279 MB / 1.532 GB, free: 11.02 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6719, allocations: 0 / 1.532 GB, free: 11.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/0.6728, allocations: 175.8 kB / 1.533 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.6728, allocations: 4 kB / 1.533 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.6729, allocations: 16 kB / 1.533 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.6729, allocations: 4 kB / 1.533 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6729, allocations: 0 / 1.533 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.675, allocations: 1.367 MB / 1.534 GB, free: 9.441 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/0.6755, allocations: 183.3 kB / 1.534 GB, free: 9.262 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.6756, allocations: 16.12 kB / 1.534 GB, free: 9.246 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.6763, allocations: 22.44 kB / 1.534 GB, free: 9.227 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.6764, allocations: 48.55 kB / 1.534 GB, free: 9.18 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.6764, allocations: 27.98 kB / 1.534 GB, free: 9.152 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005629/0.677, allocations: 415 kB / 1.535 GB, free: 8.75 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.677, allocations: 0 / 1.535 GB, free: 8.75 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0012/0.6782, allocations: 379.3 kB / 1.535 GB, free: 8.379 MB / 1.232 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002915/0.6811, allocations: 1.96 MB / 1.537 GB, free: 6.391 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.6827, allocations: 0.7629 MB / 1.538 GB, free: 5.625 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.6827, allocations: 0.6875 kB / 1.538 GB, free: 5.625 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.6833, allocations: 411.5 kB / 1.538 GB, free: 5.227 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.6862, allocations: 0.5912 MB / 1.539 GB, free: 4.648 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.6986, allocations: 7.295 MB / 1.546 GB, free: 13.18 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009877/0.6996, allocations: 1.136 MB / 1.547 GB, free: 12.02 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009737/0.7006, allocations: 271.2 kB / 1.547 GB, free: 11.75 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/0.7012, allocations: 383.3 kB / 1.547 GB, free: 11.38 MB / 1.248 GB Notification: Performance of SimCode: time 1.382e-06/0.7012, allocations: 0 / 1.547 GB, free: 11.38 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08381/0.785, allocations: 26.7 MB / 1.573 GB, free: 1.047 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.86, allocations: 5.75 kB / 1.573 GB, free: 1.047 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.72965624020435]