Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001361/0.001361, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001477/0.001477, allocations: 216.2 kB / 23 MB, free: 4.965 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002726/0.002726, allocations: 72.16 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4228, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2269/0.6497, allocations: 180.8 MB / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.6607, allocations: 6.007 MB / 1.51 GB, free: 5.453 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.6624, allocations: 47.62 kB / 1.51 GB, free: 5.406 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.6646, allocations: 0.6954 MB / 1.51 GB, free: 4.707 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008197/0.6728, allocations: 2.813 MB / 1.513 GB, free: 1.883 MB / 1.201 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002246/0.675, allocations: 0.7328 MB / 1.514 GB, free: 1.156 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005014/0.6801, allocations: 3.352 MB / 1.517 GB, free: 13.79 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.6817, allocations: 0.8207 MB / 1.518 GB, free: 12.94 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00386/0.6855, allocations: 1.433 MB / 1.519 GB, free: 11.5 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.6884, allocations: 1.156 MB / 1.52 GB, free: 10.35 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003088/0.6887, allocations: 128 kB / 1.52 GB, free: 10.22 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004426/0.6932, allocations: 1.924 MB / 1.522 GB, free: 8.293 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008584/0.694, allocations: 0.5336 MB / 1.523 GB, free: 7.758 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.6952, allocations: 0.6149 MB / 1.523 GB, free: 7.141 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005623/0.7009, allocations: 2.73 MB / 1.526 GB, free: 4.402 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.7009, allocations: 0 / 1.526 GB, free: 4.402 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7009, allocations: 0 / 1.526 GB, free: 4.402 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.601e-05/0.7009, allocations: 0 / 1.526 GB, free: 4.402 MB / 1.217 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.004813/0.7057, allocations: 1.743 MB / 1.528 GB, free: 2.621 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7058, allocations: 8.031 kB / 1.528 GB, free: 2.613 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.7082, allocations: 350.9 kB / 1.528 GB, free: 2.27 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.7102, allocations: 0.818 MB / 1.529 GB, free: 1.418 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/0.7103, allocations: 70.02 kB / 1.529 GB, free: 1.348 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.7105, allocations: 104 kB / 1.529 GB, free: 1.246 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.7129, allocations: 1.388 MB / 1.53 GB, free: 15.78 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.713, allocations: 0 / 1.53 GB, free: 15.78 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.7131, allocations: 47.98 kB / 1.531 GB, free: 15.73 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.457e-05/0.7132, allocations: 58.08 kB / 1.531 GB, free: 15.67 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.7153, allocations: 1.242 MB / 1.532 GB, free: 14.42 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 preOpt removeSimpleEquations (simulation): time 0.006746/0.722, allocations: 2.977 MB / 1.535 GB, free: 11.4 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.7235, allocations: 0.8308 MB / 1.536 GB, free: 10.56 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.7242, allocations: 485.2 kB / 1.536 GB, free: 10.08 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 5.966e-05/0.7243, allocations: 16.64 kB / 1.536 GB, free: 10.07 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/0.7252, allocations: 0.6776 MB / 1.537 GB, free: 9.324 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.887e-06/0.7252, allocations: 0 / 1.537 GB, free: 9.324 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002181/0.7274, allocations: 1.157 MB / 1.538 GB, free: 8.16 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.7275, allocations: 60.06 kB / 1.538 GB, free: 8.09 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007073/0.7282, allocations: 0.5069 MB / 1.538 GB, free: 7.574 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.7283, allocations: 41.7 kB / 1.538 GB, free: 7.527 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.7286, allocations: 472.6 kB / 1.539 GB, free: 7.059 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.7289, allocations: 289.7 kB / 1.539 GB, free: 6.773 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.7292, allocations: 130.6 kB / 1.539 GB, free: 6.641 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.7294, allocations: 378.8 kB / 1.54 GB, free: 6.262 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.7299, allocations: 333.8 kB / 1.54 GB, free: 5.938 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.7306, allocations: 452.7 kB / 1.54 GB, free: 5.461 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.7318, allocations: 0.8271 MB / 1.541 GB, free: 4.594 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7318, allocations: 4 kB / 1.541 GB, free: 4.59 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001547/0.7334, allocations: 0.9262 MB / 1.542 GB, free: 3.656 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7334, allocations: 5.875 kB / 1.542 GB, free: 3.652 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7334, allocations: 4 kB / 1.542 GB, free: 3.648 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.7334, allocations: 4 kB / 1.542 GB, free: 3.645 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.7341, allocations: 168 kB / 1.542 GB, free: 3.48 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.7342, allocations: 11.94 kB / 1.542 GB, free: 3.469 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.7349, allocations: 51.62 kB / 1.542 GB, free: 3.418 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.7349, allocations: 24 kB / 1.542 GB, free: 3.395 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.0005426/0.7355, allocations: 334.1 kB / 1.543 GB, free: 3.059 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.7356, allocations: 83.52 kB / 1.543 GB, free: 2.977 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.7358, allocations: 103.2 kB / 1.543 GB, free: 2.867 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.7372, allocations: 1.089 MB / 1.544 GB, free: 1.691 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7372, allocations: 0 / 1.544 GB, free: 1.691 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.7377, allocations: 171.3 kB / 1.544 GB, free: 1.523 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.7378, allocations: 20 kB / 1.544 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.7384, allocations: 24.91 kB / 1.544 GB, free: 1.48 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.7385, allocations: 44.58 kB / 1.544 GB, free: 1.438 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002008/0.7405, allocations: 1.016 MB / 1.545 GB, free: 428 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002098/0.7426, allocations: 1.466 MB / 1.547 GB, free: 14.93 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005792/0.7432, allocations: 393 kB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004436/0.7436, allocations: 358.8 kB / 1.547 GB, free: 14.2 MB / 1.248 GB Notification: Performance of Backend: time 6.51e-07/0.7436, allocations: 4 kB / 1.547 GB, free: 14.19 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.746, allocations: 0.9889 MB / 1.548 GB, free: 13.2 MB / 1.248 GB Notification: Performance of SimCode: time 0.004571/0.7506, allocations: 2.643 MB / 1.551 GB, free: 10.52 MB / 1.248 GB Notification: Performance of Templates: time 0.04156/0.7922, allocations: 25.52 MB / 1.576 GB, free: 1.316 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.022156662998896]