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.001105/0.001105, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.000976/0.000976, allocations: 166.8 kB / 24.87 MB, free: 8.891 MB / 18.57 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 0.9094/0.9094, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.705/1.705, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.472e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1187/0.1187, allocations: 148.9 MB / 0.9337 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003973/0.1227, allocations: 3.705 MB / 0.9373 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.1231, allocations: 51.62 kB / 0.9374 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006251/0.1238, allocations: 305.9 kB / 0.9377 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.1254, allocations: 1.383 MB / 0.939 GB, free: 1.387 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.0009153/0.1263, allocations: 0.5675 MB / 0.9396 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.1285, allocations: 3.311 MB / 0.9428 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.1292, allocations: 0.8405 MB / 0.9436 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.1311, allocations: 1.716 MB / 0.9453 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.1323, allocations: 1.048 MB / 0.9463 GB, free: 9.902 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1324, allocations: 128 kB / 0.9464 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.1329, allocations: 379.2 kB / 0.9468 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.1332, allocations: 0.561 MB / 0.9474 GB, free: 8.844 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.1336, allocations: 0.5341 MB / 0.9479 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1347, allocations: 1.297 MB / 0.9491 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1347, allocations: 0 / 0.9491 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1347, allocations: 0 / 0.9491 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.1347, allocations: 0 / 0.9491 GB, free: 7.008 MB / 0.9011 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.002078/0.1368, allocations: 1.699 MB / 0.9508 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1369, allocations: 12.03 kB / 0.9508 GB, free: 5.254 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.1379, allocations: 439.3 kB / 0.9512 GB, free: 4.824 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.1387, allocations: 0.7448 MB / 0.952 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.1387, allocations: 78.02 kB / 0.952 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.1388, allocations: 104 kB / 0.9521 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.1395, allocations: 0.7871 MB / 0.9529 GB, free: 3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.1396, allocations: 3.953 kB / 0.9529 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.1396, allocations: 47.92 kB / 0.953 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.1397, allocations: 62.08 kB / 0.953 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.1402, allocations: 406.6 kB / 0.9534 GB, free: 2.469 MB / 0.9011 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.002805/0.143, allocations: 2.569 MB / 0.9559 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.1435, allocations: 448.3 kB / 0.9563 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.1439, allocations: 216.5 kB / 0.9565 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.1439, allocations: 20.64 kB / 0.9566 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.1442, allocations: 475.5 kB / 0.957 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 2.003e-06/0.1442, allocations: 0 / 0.957 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.0006895/0.1449, allocations: 0.5482 MB / 0.9576 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.145, allocations: 64 kB / 0.9576 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1453, allocations: 0.5023 MB / 0.9581 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.1453, allocations: 41.7 kB / 0.9581 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.1455, allocations: 0.5188 MB / 0.9587 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.1457, allocations: 301.4 kB / 0.9589 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1458, allocations: 140.2 kB / 0.9591 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.146, allocations: 0.5663 MB / 0.9596 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1461, allocations: 97.91 kB / 0.9597 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.1464, allocations: 254.7 kB / 0.96 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.1468, allocations: 401.2 kB / 0.9603 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1468, allocations: 0 / 0.9603 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005102/0.1473, allocations: 0.5047 MB / 0.9608 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1473, allocations: 16.02 kB / 0.9609 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.1473, allocations: 0 / 0.9609 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1473, allocations: 8 kB / 0.9609 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.1476, allocations: 151.8 kB / 0.961 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1476, allocations: 15.88 kB / 0.961 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.1479, allocations: 51.62 kB / 0.9611 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.148, allocations: 16 kB / 0.9611 GB, free: 10.3 MB / 0.9167 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.0001676/0.1481, allocations: 204.4 kB / 0.9613 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.1482, allocations: 103.5 kB / 0.9614 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1483, allocations: 103.2 kB / 0.9615 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1483, allocations: 8 kB / 0.9615 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1483, allocations: 3.938 kB / 0.9615 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004531/0.1488, allocations: 0.6713 MB / 0.9621 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.15, allocations: 1.276 MB / 0.9634 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.15, allocations: 0 / 0.9634 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.1504, allocations: 175.8 kB / 0.9636 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1504, allocations: 3.938 kB / 0.9636 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.1504, allocations: 20 kB / 0.9636 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1504, allocations: 4 kB / 0.9636 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1504, allocations: 11.91 kB / 0.9636 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.1511, allocations: 0.7459 MB / 0.9643 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.1513, allocations: 163.2 kB / 0.9645 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.1513, allocations: 20 kB / 0.9645 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1516, allocations: 16 kB / 0.9645 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1516, allocations: 44.56 kB / 0.9646 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.1517, allocations: 27.98 kB / 0.9646 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001708/0.1518, allocations: 318.7 kB / 0.9649 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1518, allocations: 0 / 0.9649 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004623/0.1523, allocations: 371.2 kB / 0.9652 GB, free: 5.871 MB / 0.9167 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.00014/0.1524, allocations: 123.1 kB / 0.9654 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.1528, allocations: 379.1 kB / 0.9657 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1528, allocations: 4 kB / 0.9657 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.153, allocations: 224.5 kB / 0.9659 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.1542, allocations: 0.5384 MB / 0.9665 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1562, allocations: 1.78 MB / 0.9682 GB, free: 2.785 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.1563, allocations: 257.4 kB / 0.9684 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003676/0.1567, allocations: 146.7 kB / 0.9686 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/0.1574, allocations: 437.9 kB / 0.969 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.1574, allocations: 4 kB / 0.969 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of Templates: time 0.02024/0.1776, allocations: 19.65 MB / 0.9882 GB, free: 14.77 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.370506264735013]