Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001666/0.001666, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001878/0.001878, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.469/1.469, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 1.057 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3647, allocations: 160.7 MB / 1.214 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9957/1.36, allocations: 204.9 MB / 1.414 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01172/1.372, allocations: 6.381 MB / 1.42 GB, free: 8.984 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/1.374, allocations: 38.31 kB / 1.42 GB, free: 8.973 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/1.376, allocations: 0.768 MB / 1.421 GB, free: 8.363 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008093/1.385, allocations: 2.765 MB / 1.424 GB, free: 6.258 MB / 1.092 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.002367/1.387, allocations: 0.7199 MB / 1.425 GB, free: 5.688 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005031/1.392, allocations: 3.268 MB / 1.428 GB, free: 3.824 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/1.394, allocations: 0.9445 MB / 1.429 GB, free: 3.215 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/1.396, allocations: 1.281 MB / 1.43 GB, free: 2.492 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/1.399, allocations: 1.177 MB / 1.431 GB, free: 1.801 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/1.4, allocations: 127.3 kB / 1.431 GB, free: 1.801 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/1.406, allocations: 2.509 MB / 1.434 GB, free: 348 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/1.407, allocations: 0.5297 MB / 1.434 GB, free: 15.81 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/1.409, allocations: 0.7391 MB / 1.435 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007057/1.416, allocations: 2.807 MB / 1.438 GB, free: 12.25 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.416, allocations: 0 / 1.438 GB, free: 12.25 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.783e-06/1.416, allocations: 0 / 1.438 GB, free: 12.25 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.218e-05/1.416, allocations: 7.938 kB / 1.438 GB, free: 12.25 MB / 1.107 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.005006/1.421, allocations: 1.802 MB / 1.439 GB, free: 10.39 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.421, allocations: 15.98 kB / 1.439 GB, free: 10.37 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/1.423, allocations: 343.5 kB / 1.44 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.425, allocations: 0.894 MB / 1.441 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/1.425, allocations: 74.02 kB / 1.441 GB, free: 9.023 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/1.425, allocations: 103.9 kB / 1.441 GB, free: 8.922 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/1.427, allocations: 1.195 MB / 1.442 GB, free: 7.695 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.427, allocations: 0 / 1.442 GB, free: 7.695 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/1.427, allocations: 42.31 kB / 1.442 GB, free: 7.656 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.163e-05/1.428, allocations: 62.06 kB / 1.442 GB, free: 7.594 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/1.43, allocations: 1.246 MB / 1.443 GB, free: 6.34 MB / 1.107 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.007671/1.437, allocations: 5.11 MB / 1.448 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/1.439, allocations: 1.129 MB / 1.449 GB, free: 15.56 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/1.44, allocations: 493.1 kB / 1.45 GB, free: 15.07 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/1.44, allocations: 20.56 kB / 1.45 GB, free: 15.05 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/1.441, allocations: 492.2 kB / 1.45 GB, free: 14.56 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/1.441, allocations: 0 / 1.45 GB, free: 14.56 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.002315/1.443, allocations: 1.161 MB / 1.451 GB, free: 13.39 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.443, allocations: 60.06 kB / 1.452 GB, free: 13.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/1.444, allocations: 0.5822 MB / 1.452 GB, free: 12.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/1.444, allocations: 41.64 kB / 1.452 GB, free: 12.68 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/1.445, allocations: 464.7 kB / 1.453 GB, free: 12.22 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/1.445, allocations: 277.5 kB / 1.453 GB, free: 11.95 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/1.445, allocations: 134.6 kB / 1.453 GB, free: 11.81 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0003245/1.445, allocations: 386.8 kB / 1.453 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005858/1.446, allocations: 329.8 kB / 1.454 GB, free: 11.1 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/1.447, allocations: 452.8 kB / 1.454 GB, free: 10.62 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/1.448, allocations: 0.8232 MB / 1.455 GB, free: 9.766 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.448, allocations: 0 / 1.455 GB, free: 9.766 MB / 1.123 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001945/1.45, allocations: 0.934 MB / 1.456 GB, free: 8.824 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/1.45, allocations: 8 kB / 1.456 GB, free: 8.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.45, allocations: 0 / 1.456 GB, free: 8.816 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-05/1.45, allocations: 11.94 kB / 1.456 GB, free: 8.805 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/1.451, allocations: 155.8 kB / 1.456 GB, free: 8.652 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/1.451, allocations: 13.81 kB / 1.456 GB, free: 8.641 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/1.452, allocations: 63.52 kB / 1.456 GB, free: 8.578 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/1.452, allocations: 24.19 kB / 1.456 GB, free: 8.559 MB / 1.123 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.0006709/1.453, allocations: 333.6 kB / 1.456 GB, free: 8.223 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/1.453, allocations: 79.53 kB / 1.456 GB, free: 8.145 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/1.453, allocations: 111.7 kB / 1.457 GB, free: 8.031 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.453, allocations: 11.94 kB / 1.457 GB, free: 8.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.453, allocations: 0 / 1.457 GB, free: 8.02 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/1.455, allocations: 1.097 MB / 1.458 GB, free: 6.836 MB / 1.123 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.003742/1.459, allocations: 2.303 MB / 1.46 GB, free: 4.441 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.459, allocations: 4 kB / 1.46 GB, free: 4.438 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/1.46, allocations: 175.8 kB / 1.46 GB, free: 4.266 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/1.46, allocations: 4 kB / 1.46 GB, free: 4.262 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/1.46, allocations: 19.98 kB / 1.46 GB, free: 4.242 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.46, allocations: 4 kB / 1.46 GB, free: 4.238 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.46, allocations: 0 / 1.46 GB, free: 4.238 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/1.462, allocations: 1.363 MB / 1.461 GB, free: 2.855 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/1.462, allocations: 252.4 kB / 1.462 GB, free: 2.59 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.462, allocations: 20 kB / 1.462 GB, free: 2.57 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/1.463, allocations: 23.92 kB / 1.462 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.463, allocations: 44.59 kB / 1.462 GB, free: 2.504 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/1.463, allocations: 20 kB / 1.462 GB, free: 2.484 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005713/1.464, allocations: 419 kB / 1.462 GB, free: 2.078 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.464, allocations: 4 kB / 1.462 GB, free: 2.074 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009995/1.465, allocations: 367.3 kB / 1.463 GB, free: 1.715 MB / 1.123 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.000335/1.465, allocations: 176 kB / 1.463 GB, free: 1.535 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.466, allocations: 0.7706 MB / 1.463 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.466, allocations: 0 / 1.463 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006322/1.467, allocations: 411.5 kB / 1.464 GB, free: 372 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.47, allocations: 0.5924 MB / 1.464 GB, free: 15.8 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/1.474, allocations: 2.277 MB / 1.467 GB, free: 13.48 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/1.474, allocations: 1.136 MB / 1.468 GB, free: 12.32 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/1.475, allocations: 83.42 kB / 1.468 GB, free: 12.24 MB / 1.139 GB Notification: Performance of SimCode: time 9.61e-07/1.475, allocations: 0 / 1.468 GB, free: 12.24 MB / 1.139 GB Notification: Performance of Templates: time 0.02682/1.502, allocations: 15.96 MB / 1.483 GB, free: 12.4 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.517462207004428]