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.002057/0.002057, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.002645/0.002645, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.634/1.634, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.934/2.934, allocations: 476.8 MB / 0.7714 GB, free: 4.289 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.001989/0.001989, allocations: 68.33 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4492, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2734/0.7226, allocations: 208.3 MB / 1.488 GB, free: 10.1 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.7365, allocations: 6.405 MB / 1.494 GB, free: 3.68 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.7398, allocations: 47.62 kB / 1.494 GB, free: 3.633 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.7426, allocations: 0.7772 MB / 1.495 GB, free: 2.852 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.009667/0.7523, allocations: 2.816 MB / 1.498 GB, free: 24 kB / 1.186 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.002498/0.7548, allocations: 0.7381 MB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005508/0.7603, allocations: 3.356 MB / 1.502 GB, free: 11.92 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.7618, allocations: 0.8169 MB / 1.503 GB, free: 11.08 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.7646, allocations: 1.312 MB / 1.504 GB, free: 9.766 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.7672, allocations: 1.167 MB / 1.505 GB, free: 8.602 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.7674, allocations: 131.9 kB / 1.505 GB, free: 8.473 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.773, allocations: 2.556 MB / 1.508 GB, free: 5.91 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007011/0.7737, allocations: 0.5337 MB / 1.508 GB, free: 5.375 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.7748, allocations: 0.743 MB / 1.509 GB, free: 4.629 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005424/0.7802, allocations: 2.8 MB / 1.512 GB, free: 1.82 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7802, allocations: 0 / 1.512 GB, free: 1.82 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7802, allocations: 4 kB / 1.512 GB, free: 1.816 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.7802, allocations: 0 / 1.512 GB, free: 1.816 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.004312/0.7845, allocations: 1.734 MB / 1.513 GB, free: 44 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7846, allocations: 8.031 kB / 1.513 GB, free: 36 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.7868, allocations: 358.9 kB / 1.514 GB, free: 15.68 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.7883, allocations: 0.8141 MB / 1.514 GB, free: 14.84 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.7884, allocations: 78 kB / 1.515 GB, free: 14.77 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.7886, allocations: 104 kB / 1.515 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.7906, allocations: 1.183 MB / 1.516 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.7906, allocations: 0 / 1.516 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.7907, allocations: 47.98 kB / 1.516 GB, free: 13.4 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.883e-05/0.7908, allocations: 62.06 kB / 1.516 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.7928, allocations: 1.249 MB / 1.517 GB, free: 12.08 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 preOpt removeSimpleEquations (simulation): time 0.007225/0.8, allocations: 5.05 MB / 1.522 GB, free: 6.574 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.8014, allocations: 0.8348 MB / 1.523 GB, free: 5.734 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000737/0.8022, allocations: 489.2 kB / 1.523 GB, free: 5.254 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/0.8022, allocations: 8.656 kB / 1.523 GB, free: 5.246 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007711/0.803, allocations: 496.2 kB / 1.524 GB, free: 4.75 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 3.046e-06/0.803, allocations: 0 / 1.524 GB, free: 4.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.002125/0.8051, allocations: 1.165 MB / 1.525 GB, free: 3.578 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.8052, allocations: 60.06 kB / 1.525 GB, free: 3.508 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.8059, allocations: 0.5744 MB / 1.526 GB, free: 2.926 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.608e-05/0.806, allocations: 41.7 kB / 1.526 GB, free: 2.879 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.8064, allocations: 472.6 kB / 1.526 GB, free: 2.41 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.8067, allocations: 285.6 kB / 1.526 GB, free: 2.129 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.8069, allocations: 126.7 kB / 1.526 GB, free: 2 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.8071, allocations: 386.8 kB / 1.527 GB, free: 1.613 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.8076, allocations: 329.8 kB / 1.527 GB, free: 1.289 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.8082, allocations: 456.6 kB / 1.528 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.8094, allocations: 0.8194 MB / 1.528 GB, free: 15.95 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.8094, allocations: 0 / 1.528 GB, free: 15.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001472/0.8109, allocations: 0.9379 MB / 1.529 GB, free: 15 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.8109, allocations: 4 kB / 1.529 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.8109, allocations: 11.92 kB / 1.529 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.8109, allocations: 4 kB / 1.529 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.8116, allocations: 159.7 kB / 1.529 GB, free: 14.83 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.8117, allocations: 4.344 kB / 1.529 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.8124, allocations: 67.52 kB / 1.53 GB, free: 14.76 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.8124, allocations: 28 kB / 1.53 GB, free: 14.73 MB / 1.232 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.0005605/0.813, allocations: 334.8 kB / 1.53 GB, free: 14.39 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.8131, allocations: 87.48 kB / 1.53 GB, free: 14.31 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.8134, allocations: 111.7 kB / 1.53 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.8134, allocations: 8 kB / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.8134, allocations: 0 / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/0.8147, allocations: 1.089 MB / 1.531 GB, free: 13.01 MB / 1.232 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.003485/0.8182, allocations: 2.279 MB / 1.533 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8182, allocations: 0 / 1.533 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/0.8191, allocations: 175.8 kB / 1.534 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.8191, allocations: 7.938 kB / 1.534 GB, free: 10.47 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.8192, allocations: 15.98 kB / 1.534 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.8192, allocations: 4 kB / 1.534 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8192, allocations: 4.031 kB / 1.534 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.8211, allocations: 1.363 MB / 1.535 GB, free: 9.059 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.8216, allocations: 179.3 kB / 1.535 GB, free: 8.883 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.8217, allocations: 16 kB / 1.535 GB, free: 8.867 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.8222, allocations: 25.98 kB / 1.535 GB, free: 8.844 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.8223, allocations: 52.56 kB / 1.535 GB, free: 8.793 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.8224, allocations: 20.12 kB / 1.535 GB, free: 8.773 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005451/0.8229, allocations: 419 kB / 1.536 GB, free: 8.367 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.8229, allocations: 0 / 1.536 GB, free: 8.367 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009618/0.8239, allocations: 371.2 kB / 1.536 GB, free: 8.004 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.0003168/0.8242, allocations: 179 kB / 1.536 GB, free: 7.82 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.8254, allocations: 0.7668 MB / 1.537 GB, free: 7.055 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8254, allocations: 0 / 1.537 GB, free: 7.055 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.826, allocations: 412.2 kB / 1.537 GB, free: 6.652 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.8285, allocations: 0.5802 MB / 1.538 GB, free: 6.086 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.8323, allocations: 2.278 MB / 1.54 GB, free: 3.77 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008738/0.8332, allocations: 1.14 MB / 1.541 GB, free: 2.598 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.8335, allocations: 83.42 kB / 1.541 GB, free: 2.52 MB / 1.232 GB Notification: Performance of SimCode: time 1.212e-06/0.8335, allocations: 0 / 1.541 GB, free: 2.52 MB / 1.232 GB Notification: Performance of Templates: time 0.02676/0.8602, allocations: 15.96 MB / 1.557 GB, free: 2.664 MB / 1.248 GB " [Timeout remaining time 298] 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/jenkins1/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: 15.635259005997796]