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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 489.7 MB / 0.7761 GB, free: 2.473 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 1.127 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 172 MB / 1.295 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2383/1.272, allocations: 205 MB / 1.495 GB, free: 2.047 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01088/1.283, allocations: 6.387 MB / 1.501 GB, free: 11.64 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/1.285, allocations: 35.81 kB / 1.501 GB, free: 11.61 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/1.287, allocations: 0.7733 MB / 1.502 GB, free: 10.83 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007244/1.294, allocations: 2.777 MB / 1.505 GB, free: 8.047 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001929/1.296, allocations: 0.709 MB / 1.505 GB, free: 7.34 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004775/1.301, allocations: 3.298 MB / 1.509 GB, free: 4.031 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/1.302, allocations: 0.9336 MB / 1.51 GB, free: 3.074 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/1.305, allocations: 1.413 MB / 1.511 GB, free: 1.656 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/1.307, allocations: 1.162 MB / 1.512 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/1.308, allocations: 128 kB / 1.512 GB, free: 380 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/1.313, allocations: 2.498 MB / 1.515 GB, free: 13.87 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006441/1.313, allocations: 0.5258 MB / 1.515 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/1.314, allocations: 0.7352 MB / 1.516 GB, free: 12.6 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004897/1.319, allocations: 2.81 MB / 1.519 GB, free: 9.785 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.319, allocations: 0 / 1.519 GB, free: 9.785 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.664e-06/1.319, allocations: 3.938 kB / 1.519 GB, free: 9.781 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.485e-05/1.319, allocations: 0 / 1.519 GB, free: 9.781 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.003974/1.323, allocations: 1.809 MB / 1.52 GB, free: 7.914 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.323, allocations: 8.031 kB / 1.52 GB, free: 7.906 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/1.325, allocations: 358.8 kB / 1.521 GB, free: 7.555 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.327, allocations: 0.8747 MB / 1.522 GB, free: 6.637 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/1.327, allocations: 78 kB / 1.522 GB, free: 6.559 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.327, allocations: 100 kB / 1.522 GB, free: 6.461 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.329, allocations: 1.199 MB / 1.523 GB, free: 5.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.329, allocations: 7.891 kB / 1.523 GB, free: 5.223 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.329, allocations: 44 kB / 1.523 GB, free: 5.18 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.22e-05/1.329, allocations: 58.08 kB / 1.523 GB, free: 5.121 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/1.331, allocations: 1.246 MB / 1.524 GB, free: 3.867 MB / 1.201 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.006778/1.338, allocations: 5.256 MB / 1.529 GB, free: 14.12 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.34, allocations: 1.129 MB / 1.53 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/1.341, allocations: 493.1 kB / 1.531 GB, free: 12.42 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 5.563e-05/1.341, allocations: 20.59 kB / 1.531 GB, free: 12.4 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007353/1.341, allocations: 484.2 kB / 1.531 GB, free: 11.91 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 2.364e-06/1.341, allocations: 4 kB / 1.531 GB, free: 11.91 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.002036/1.343, allocations: 1.157 MB / 1.533 GB, free: 10.75 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.343, allocations: 68 kB / 1.533 GB, free: 10.67 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007405/1.344, allocations: 0.5783 MB / 1.533 GB, free: 10.08 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/1.344, allocations: 41.64 kB / 1.533 GB, free: 10.03 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/1.345, allocations: 472.8 kB / 1.534 GB, free: 9.562 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/1.345, allocations: 281.5 kB / 1.534 GB, free: 9.285 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/1.345, allocations: 134.6 kB / 1.534 GB, free: 9.148 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.345, allocations: 382.8 kB / 1.534 GB, free: 8.766 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/1.346, allocations: 333.8 kB / 1.535 GB, free: 8.438 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/1.346, allocations: 452.8 kB / 1.535 GB, free: 7.957 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.348, allocations: 0.8232 MB / 1.536 GB, free: 7.098 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.348, allocations: 0 / 1.536 GB, free: 7.098 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001413/1.349, allocations: 0.9303 MB / 1.537 GB, free: 6.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.349, allocations: 8 kB / 1.537 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.349, allocations: 7.938 kB / 1.537 GB, free: 6.145 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.349, allocations: 8 kB / 1.537 GB, free: 6.137 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/1.35, allocations: 155.8 kB / 1.537 GB, free: 5.984 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/1.35, allocations: 11.92 kB / 1.537 GB, free: 5.973 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/1.35, allocations: 63.52 kB / 1.537 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/1.35, allocations: 27.94 kB / 1.537 GB, free: 5.883 MB / 1.217 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.0004597/1.351, allocations: 329.8 kB / 1.538 GB, free: 5.551 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/1.351, allocations: 83.48 kB / 1.538 GB, free: 5.469 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/1.351, allocations: 115.7 kB / 1.538 GB, free: 5.352 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.351, allocations: 8 kB / 1.538 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.351, allocations: 3.984 kB / 1.538 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/1.353, allocations: 1.089 MB / 1.539 GB, free: 4.164 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 postOpt removeSimpleEquations (simulation): time 0.003297/1.356, allocations: 2.314 MB / 1.541 GB, free: 1.766 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.356, allocations: 4.031 kB / 1.541 GB, free: 1.762 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/1.357, allocations: 171.8 kB / 1.541 GB, free: 1.594 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/1.357, allocations: 4 kB / 1.541 GB, free: 1.59 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/1.357, allocations: 19.98 kB / 1.541 GB, free: 1.57 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.357, allocations: 4 kB / 1.541 GB, free: 1.566 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.357, allocations: 0 / 1.541 GB, free: 1.566 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/1.359, allocations: 1.363 MB / 1.543 GB, free: 184 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003924/1.359, allocations: 248.5 kB / 1.543 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.359, allocations: 19.98 kB / 1.543 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/1.36, allocations: 22.25 kB / 1.543 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/1.36, allocations: 40.59 kB / 1.543 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/1.36, allocations: 23.98 kB / 1.543 GB, free: 15.81 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005069/1.36, allocations: 415.1 kB / 1.543 GB, free: 15.41 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/1.36, allocations: 4 kB / 1.543 GB, free: 15.41 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008676/1.361, allocations: 379.2 kB / 1.544 GB, free: 15.04 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.0002976/1.362, allocations: 175.7 kB / 1.544 GB, free: 14.86 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001206/1.363, allocations: 0.759 MB / 1.545 GB, free: 14.1 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.363, allocations: 0 / 1.545 GB, free: 14.1 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006216/1.363, allocations: 411.5 kB / 1.545 GB, free: 13.7 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.366, allocations: 0.6 MB / 1.546 GB, free: 13.11 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/1.369, allocations: 2.265 MB / 1.548 GB, free: 10.8 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/1.37, allocations: 1.143 MB / 1.549 GB, free: 9.633 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/1.37, allocations: 75.44 kB / 1.549 GB, free: 9.559 MB / 1.232 GB Notification: Performance of SimCode: time 4.1e-07/1.37, allocations: 3.938 kB / 1.549 GB, free: 9.555 MB / 1.232 GB Notification: Performance of Templates: time 0.02383/1.394, allocations: 15.96 MB / 1.565 GB, free: 9.688 MB / 1.248 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches