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.002062/0.002062, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002836/0.002836, allocations: 210.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.91/2.91, allocations: 475.9 MB / 0.7699 GB, free: 4.836 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 67.88 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3838, allocations: 170 MB / 1.283 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2549/0.6387, allocations: 180.8 MB / 1.46 GB, free: 6.656 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.6511, allocations: 5.989 MB / 1.465 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.6533, allocations: 47.62 kB / 1.465 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.656, allocations: 0.6876 MB / 1.466 GB, free: 15.91 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.009029/0.665, allocations: 2.803 MB / 1.469 GB, free: 13.1 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002452/0.6675, allocations: 0.7278 MB / 1.47 GB, free: 12.38 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005207/0.6727, allocations: 3.322 MB / 1.473 GB, free: 9.047 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.6745, allocations: 0.8169 MB / 1.474 GB, free: 8.207 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.6777, allocations: 1.308 MB / 1.475 GB, free: 6.895 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.681, allocations: 1.134 MB / 1.476 GB, free: 5.762 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005033/0.6815, allocations: 128 kB / 1.476 GB, free: 5.637 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005396/0.6869, allocations: 1.92 MB / 1.478 GB, free: 3.711 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000985/0.6879, allocations: 0.5297 MB / 1.479 GB, free: 3.18 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.6897, allocations: 0.6226 MB / 1.479 GB, free: 2.555 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006415/0.6961, allocations: 2.714 MB / 1.482 GB, free: 15.83 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6961, allocations: 0 / 1.482 GB, free: 15.83 MB / 1.186 GB Notification: Performance of FrontEnd: time 5.01e-06/0.6961, allocations: 4 kB / 1.482 GB, free: 15.83 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.255e-05/0.6962, allocations: 0 / 1.482 GB, free: 15.83 MB / 1.186 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.005484/0.7017, allocations: 1.738 MB / 1.483 GB, free: 14.05 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7017, allocations: 8.031 kB / 1.483 GB, free: 14.04 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.7042, allocations: 354.9 kB / 1.484 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.7063, allocations: 0.818 MB / 1.485 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.971e-05/0.7064, allocations: 78 kB / 1.485 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.7067, allocations: 100 kB / 1.485 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.7092, allocations: 1.388 MB / 1.486 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.7093, allocations: 0 / 1.486 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.7094, allocations: 43.98 kB / 1.486 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.872e-05/0.7095, allocations: 62.06 kB / 1.486 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.7118, allocations: 1.242 MB / 1.487 GB, free: 9.852 MB / 1.186 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.006918/0.7187, allocations: 2.973 MB / 1.49 GB, free: 6.828 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.7203, allocations: 0.8235 MB / 1.491 GB, free: 6 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/0.7211, allocations: 490.5 kB / 1.492 GB, free: 5.52 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 6.568e-05/0.7211, allocations: 20.64 kB / 1.492 GB, free: 5.5 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009836/0.7221, allocations: 0.6737 MB / 1.492 GB, free: 4.766 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 4.198e-06/0.7221, allocations: 4 kB / 1.492 GB, free: 4.762 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.002301/0.7244, allocations: 1.157 MB / 1.493 GB, free: 3.598 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.7245, allocations: 60.06 kB / 1.494 GB, free: 3.527 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/0.7253, allocations: 0.5107 MB / 1.494 GB, free: 3.008 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.021e-05/0.7253, allocations: 41.7 kB / 1.494 GB, free: 2.961 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.7257, allocations: 472.6 kB / 1.494 GB, free: 2.492 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/0.7261, allocations: 281.5 kB / 1.495 GB, free: 2.215 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.7263, allocations: 134.6 kB / 1.495 GB, free: 2.078 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.7265, allocations: 374.8 kB / 1.495 GB, free: 1.703 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/0.7271, allocations: 337.8 kB / 1.496 GB, free: 1.371 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.7277, allocations: 452.7 kB / 1.496 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.729, allocations: 0.8194 MB / 1.497 GB, free: 36 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.729, allocations: 0 / 1.497 GB, free: 36 kB / 1.186 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001617/0.7306, allocations: 0.9262 MB / 1.498 GB, free: 15.1 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7306, allocations: 7.938 kB / 1.498 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.7306, allocations: 4 kB / 1.498 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.7307, allocations: 8.281 kB / 1.498 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/0.7314, allocations: 171.7 kB / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.7314, allocations: 4 kB / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.7322, allocations: 55.62 kB / 1.498 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.7322, allocations: 24 kB / 1.498 GB, free: 14.83 MB / 1.201 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.0005466/0.7328, allocations: 334.8 kB / 1.498 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.733, allocations: 83.52 kB / 1.498 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.7332, allocations: 99.23 kB / 1.498 GB, free: 14.31 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.7332, allocations: 11.94 kB / 1.498 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7332, allocations: 0 / 1.498 GB, free: 14.3 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/0.7347, allocations: 1.097 MB / 1.5 GB, free: 13.12 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 postOpt removeSimpleEquations (simulation): time 0.003524/0.7382, allocations: 1.89 MB / 1.501 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7382, allocations: 0 / 1.501 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008819/0.7391, allocations: 179.8 kB / 1.502 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.7391, allocations: 0 / 1.502 GB, free: 11 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.7392, allocations: 20 kB / 1.502 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.7392, allocations: 4 kB / 1.502 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7392, allocations: 8.016 kB / 1.502 GB, free: 10.97 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.7413, allocations: 1.352 MB / 1.503 GB, free: 9.598 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.7418, allocations: 175.3 kB / 1.503 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.742, allocations: 16 kB / 1.503 GB, free: 9.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.7426, allocations: 19.94 kB / 1.503 GB, free: 9.391 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.7427, allocations: 48.56 kB / 1.503 GB, free: 9.344 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.7428, allocations: 23.98 kB / 1.503 GB, free: 9.32 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004953/0.7433, allocations: 358.8 kB / 1.504 GB, free: 8.973 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.7433, allocations: 0 / 1.504 GB, free: 8.973 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001072/0.7444, allocations: 379.2 kB / 1.504 GB, free: 8.602 MB / 1.201 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.0003342/0.7447, allocations: 187 kB / 1.504 GB, free: 8.41 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.7461, allocations: 0.7629 MB / 1.505 GB, free: 7.648 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7461, allocations: 0 / 1.505 GB, free: 7.648 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006312/0.7467, allocations: 411.5 kB / 1.505 GB, free: 7.246 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.7493, allocations: 0.5352 MB / 1.506 GB, free: 6.723 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.7534, allocations: 2.187 MB / 1.508 GB, free: 4.504 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.7543, allocations: 0.5464 MB / 1.508 GB, free: 3.922 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009933/0.7553, allocations: 262.6 kB / 1.509 GB, free: 3.66 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.7556, allocations: 71.42 kB / 1.509 GB, free: 3.594 MB / 1.201 GB Notification: Performance of SimCode: time 9.01e-07/0.7556, allocations: 0 / 1.509 GB, free: 3.594 MB / 1.201 GB Notification: Performance of Templates: time 0.03626/0.7918, allocations: 20.41 MB / 1.529 GB, free: 15.62 MB / 1.233 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.762999663129449]