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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002497/0.002497, allocations: 192 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=2500,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_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.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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 64.14 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9672/0.9693, allocations: 168.7 MB / 1.274 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2592/1.229, allocations: 205.3 MB / 1.475 GB, free: 6.367 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01157/1.24, allocations: 6.405 MB / 1.481 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/1.242, allocations: 35.81 kB / 1.481 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/1.244, allocations: 0.7694 MB / 1.482 GB, free: 15.14 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007993/1.252, allocations: 2.766 MB / 1.484 GB, free: 12.36 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002289/1.255, allocations: 0.7252 MB / 1.485 GB, free: 11.64 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005404/1.26, allocations: 3.282 MB / 1.488 GB, free: 8.348 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/1.261, allocations: 0.8242 MB / 1.489 GB, free: 7.508 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/1.264, allocations: 1.289 MB / 1.49 GB, free: 6.215 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/1.267, allocations: 1.172 MB / 1.491 GB, free: 5.043 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/1.268, allocations: 128 kB / 1.492 GB, free: 4.918 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00587/1.274, allocations: 2.513 MB / 1.494 GB, free: 2.398 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000866/1.274, allocations: 0.5297 MB / 1.495 GB, free: 1.867 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/1.276, allocations: 0.7392 MB / 1.495 GB, free: 1.125 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00651/1.282, allocations: 2.808 MB / 1.498 GB, free: 14.31 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.282, allocations: 0 / 1.498 GB, free: 14.31 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.733e-06/1.282, allocations: 4 kB / 1.498 GB, free: 14.3 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.596e-05/1.282, allocations: 0 / 1.498 GB, free: 14.3 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.004886/1.287, allocations: 1.802 MB / 1.5 GB, free: 12.45 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.287, allocations: 12.03 kB / 1.5 GB, free: 12.43 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/1.29, allocations: 354.9 kB / 1.5 GB, free: 12.09 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/1.291, allocations: 0.8863 MB / 1.501 GB, free: 11.15 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.277e-05/1.292, allocations: 74 kB / 1.501 GB, free: 11.08 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/1.292, allocations: 96 kB / 1.501 GB, free: 10.98 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.294, allocations: 1.203 MB / 1.502 GB, free: 9.75 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/1.294, allocations: 0 / 1.502 GB, free: 9.75 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.294, allocations: 40 kB / 1.502 GB, free: 9.711 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.001e-05/1.294, allocations: 62.06 kB / 1.502 GB, free: 9.648 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/1.296, allocations: 1.242 MB / 1.504 GB, free: 8.398 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.007647/1.304, allocations: 5.114 MB / 1.509 GB, free: 2.824 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.305, allocations: 1.13 MB / 1.51 GB, free: 1.617 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/1.306, allocations: 497.2 kB / 1.51 GB, free: 1.129 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.56e-05/1.306, allocations: 16.64 kB / 1.51 GB, free: 1.109 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008316/1.307, allocations: 484.2 kB / 1.511 GB, free: 0.625 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/1.307, allocations: 0 / 1.511 GB, free: 0.625 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.002158/1.309, allocations: 1.165 MB / 1.512 GB, free: 15.45 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.309, allocations: 64.05 kB / 1.512 GB, free: 15.38 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/1.31, allocations: 0.586 MB / 1.512 GB, free: 14.79 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/1.31, allocations: 37.7 kB / 1.512 GB, free: 14.74 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/1.31, allocations: 472.8 kB / 1.513 GB, free: 14.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/1.311, allocations: 273.5 kB / 1.513 GB, free: 14 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/1.311, allocations: 138.6 kB / 1.513 GB, free: 13.86 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002261/1.311, allocations: 382.8 kB / 1.514 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/1.312, allocations: 333.8 kB / 1.514 GB, free: 13.15 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/1.312, allocations: 456.7 kB / 1.514 GB, free: 12.67 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.314, allocations: 0.8233 MB / 1.515 GB, free: 11.81 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.314, allocations: 0 / 1.515 GB, free: 11.81 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001574/1.315, allocations: 0.93 MB / 1.516 GB, free: 10.87 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.315, allocations: 10.03 kB / 1.516 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.315, allocations: 3.938 kB / 1.516 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.315, allocations: 8.344 kB / 1.516 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/1.316, allocations: 163.7 kB / 1.516 GB, free: 10.69 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.316, allocations: 8 kB / 1.516 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007641/1.317, allocations: 63.52 kB / 1.516 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/1.317, allocations: 20 kB / 1.516 GB, free: 10.6 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.0005857/1.317, allocations: 336.2 kB / 1.517 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.318, allocations: 79.53 kB / 1.517 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/1.318, allocations: 115.7 kB / 1.517 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/1.318, allocations: 8 kB / 1.517 GB, free: 10.06 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.318, allocations: 4 kB / 1.517 GB, free: 10.06 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001422/1.319, allocations: 1.093 MB / 1.518 GB, free: 8.883 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.003579/1.323, allocations: 2.303 MB / 1.52 GB, free: 6.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.323, allocations: 4 kB / 1.52 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008497/1.324, allocations: 171.8 kB / 1.52 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.324, allocations: 8.031 kB / 1.52 GB, free: 6.301 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/1.324, allocations: 19.98 kB / 1.52 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.324, allocations: 4 kB / 1.52 GB, free: 6.277 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.324, allocations: 0 / 1.52 GB, free: 6.277 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/1.326, allocations: 1.356 MB / 1.522 GB, free: 4.902 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/1.326, allocations: 256.4 kB / 1.522 GB, free: 4.633 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.327, allocations: 16 kB / 1.522 GB, free: 4.617 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006881/1.327, allocations: 20 kB / 1.522 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.327, allocations: 48.53 kB / 1.522 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.328, allocations: 32.11 kB / 1.522 GB, free: 4.52 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006668/1.328, allocations: 415 kB / 1.523 GB, free: 4.117 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.328, allocations: 0 / 1.523 GB, free: 4.117 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00115/1.329, allocations: 375.2 kB / 1.523 GB, free: 3.75 MB / 1.217 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.0003608/1.33, allocations: 175.6 kB / 1.523 GB, free: 3.566 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00141/1.331, allocations: 0.7596 MB / 1.524 GB, free: 2.805 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.331, allocations: 8 kB / 1.524 GB, free: 2.797 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006428/1.332, allocations: 411.5 kB / 1.524 GB, free: 2.398 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.335, allocations: 0.5839 MB / 1.525 GB, free: 1.828 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/1.339, allocations: 2.201 MB / 1.527 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.34, allocations: 1.139 MB / 1.528 GB, free: 14.42 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009714/1.341, allocations: 271.2 kB / 1.528 GB, free: 14.15 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/1.341, allocations: 79.42 kB / 1.528 GB, free: 14.08 MB / 1.232 GB Notification: Performance of SimCode: time 7.11e-07/1.341, allocations: 0 / 1.528 GB, free: 14.08 MB / 1.232 GB Notification: Performance of Templates: time 0.03732/1.378, allocations: 19.65 MB / 1.548 GB, free: 10.66 MB / 1.248 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] 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_2/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: 10.360376864206046]