Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001149/0.001149, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001631/0.00278, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001058/0.001058, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002427, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9269/0.9269, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08453/1.011, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.76/1.76, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4103/2.171, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.025e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1207/0.1207, allocations: 151.5 MB / 0.8776 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00512/0.1258, allocations: 3.834 MB / 0.8814 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.1263, allocations: 51.62 kB / 0.8814 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.1269, allocations: 321.9 kB / 0.8817 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.1287, allocations: 1.379 MB / 0.8831 GB, free: 6.938 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.0008509/0.1295, allocations: 0.5543 MB / 0.8836 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.132, allocations: 3.32 MB / 0.8869 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.1332, allocations: 0.8981 MB / 0.8877 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.135, allocations: 1.772 MB / 0.8895 GB, free: 420 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008126/0.1359, allocations: 0.9621 MB / 0.8904 GB, free: 15.45 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.136, allocations: 128 kB / 0.8905 GB, free: 15.32 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006279/0.1366, allocations: 383.2 kB / 0.8909 GB, free: 14.95 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.1369, allocations: 0.491 MB / 0.8914 GB, free: 14.45 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.1372, allocations: 463.3 kB / 0.8918 GB, free: 14 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.000961/0.1382, allocations: 1.196 MB / 0.893 GB, free: 12.8 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.1382, allocations: 0 / 0.893 GB, free: 12.8 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1382, allocations: 0 / 0.893 GB, free: 12.8 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.1382, allocations: 0 / 0.893 GB, free: 12.8 MB / 0.8699 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.001988/0.1402, allocations: 1.922 MB / 0.8949 GB, free: 10.83 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1403, allocations: 11.97 kB / 0.8949 GB, free: 10.82 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.1412, allocations: 423.8 kB / 0.8953 GB, free: 10.4 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.1419, allocations: 0.6277 MB / 0.8959 GB, free: 9.746 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.142, allocations: 78 kB / 0.896 GB, free: 9.668 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.1421, allocations: 100 kB / 0.8961 GB, free: 9.57 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.1428, allocations: 0.8407 MB / 0.8969 GB, free: 8.645 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1428, allocations: 0 / 0.8969 GB, free: 8.645 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.1428, allocations: 40 kB / 0.8969 GB, free: 8.605 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.903e-05/0.1429, allocations: 62.06 kB / 0.897 GB, free: 8.543 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.1433, allocations: 346.7 kB / 0.8973 GB, free: 8.184 MB / 0.8699 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.002424/0.1458, allocations: 2.157 MB / 0.8994 GB, free: 5.992 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.1462, allocations: 406 kB / 0.8998 GB, free: 5.586 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.1464, allocations: 185.7 kB / 0.9 GB, free: 5.402 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.1464, allocations: 12.66 kB / 0.9 GB, free: 5.391 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.1468, allocations: 457.9 kB / 0.9004 GB, free: 4.883 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=76): time 1.964e-06/0.1468, allocations: 0 / 0.9004 GB, free: 4.883 MB / 0.8699 GB Notification: Performance of matching and sorting (n=76): time 0.0005877/0.1473, allocations: 437.8 kB / 0.9009 GB, free: 4.453 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.1474, allocations: 60.06 kB / 0.9009 GB, free: 4.379 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.1476, allocations: 447 kB / 0.9013 GB, free: 3.93 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.1477, allocations: 41.7 kB / 0.9014 GB, free: 3.883 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.1478, allocations: 405.8 kB / 0.9018 GB, free: 3.477 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.1479, allocations: 281.5 kB / 0.902 GB, free: 3.199 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.148, allocations: 122.6 kB / 0.9021 GB, free: 3.07 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.1481, allocations: 390.6 kB / 0.9025 GB, free: 2.68 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1482, allocations: 88.8 kB / 0.9026 GB, free: 2.594 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.1484, allocations: 200.8 kB / 0.9028 GB, free: 2.363 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1487, allocations: 356.7 kB / 0.9031 GB, free: 1.977 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1487, allocations: 7.938 kB / 0.9031 GB, free: 1.969 MB / 0.8699 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000386/0.1491, allocations: 395.9 kB / 0.9035 GB, free: 1.574 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1491, allocations: 7.938 kB / 0.9035 GB, free: 1.566 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1491, allocations: 4 kB / 0.9035 GB, free: 1.562 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1491, allocations: 4 kB / 0.9035 GB, free: 1.559 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.1495, allocations: 184.1 kB / 0.9037 GB, free: 1.379 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1495, allocations: 11.94 kB / 0.9037 GB, free: 1.367 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.1498, allocations: 55.58 kB / 0.9038 GB, free: 1.312 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1498, allocations: 16 kB / 0.9038 GB, free: 1.297 MB / 0.8699 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.0001454/0.15, allocations: 156.5 kB / 0.9039 GB, free: 1.133 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.15, allocations: 71.94 kB / 0.904 GB, free: 1.062 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1501, allocations: 103.2 kB / 0.9041 GB, free: 0.957 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1502, allocations: 8 kB / 0.9041 GB, free: 0.9492 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.1502, allocations: 7.984 kB / 0.9041 GB, free: 0.9414 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004129/0.1506, allocations: 0.5776 MB / 0.9047 GB, free: 284 kB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.1515, allocations: 1.007 MB / 0.9057 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1515, allocations: 0 / 0.9057 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.1521, allocations: 238.5 kB / 0.9059 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1522, allocations: 123.3 kB / 0.906 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1522, allocations: 4 kB / 0.906 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.1523, allocations: 23.98 kB / 0.906 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1523, allocations: 4 kB / 0.906 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1523, allocations: 0 / 0.906 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.1528, allocations: 0.6001 MB / 0.9066 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.1528, allocations: 19.98 kB / 0.9067 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.1531, allocations: 20 kB / 0.9067 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1531, allocations: 44.56 kB / 0.9067 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.1531, allocations: 19.98 kB / 0.9067 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001258/0.1533, allocations: 196.4 kB / 0.9069 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1533, allocations: 0 / 0.9069 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004205/0.1537, allocations: 375.2 kB / 0.9073 GB, free: 13.56 MB / 0.8855 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.0001426/0.1538, allocations: 112.3 kB / 0.9074 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1542, allocations: 340.8 kB / 0.9077 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.815e-05/0.1542, allocations: 22.61 kB / 0.9077 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.1544, allocations: 231.1 kB / 0.908 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.1561, allocations: 2.959 MB / 0.9108 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.1604, allocations: 1.791 MB / 0.9126 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.1606, allocations: 261.4 kB / 0.9128 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003495/0.161, allocations: 142.9 kB / 0.913 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/0.1616, allocations: 375 kB / 0.9133 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.1616, allocations: 4 kB / 0.9133 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of Templates: time 0.02002/0.1816, allocations: 20.68 MB / 0.9335 GB, free: 2.535 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.990811144001782]