Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.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.001701/0.001701, 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.002159/0.002159, allocations: 215.5 kB / 23 MB, free: 4.969 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.267/3.267, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valAut100.m_flow|valAut75.m_flow|valAut50.m_flow|valAut33.m_flow|valAut25.m_flow|valAut50Ove.m_flow|valAut33Bal.m_flow|valAut100.dp|valAut75.dp|valAut50.dp|valAut33.dp|valAut25.dp|valAut50Ove.dp|valAut33Bal.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") translateModel(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|valAut100.m_flow|valAut75.m_flow|valAut50.m_flow|valAut33.m_flow|valAut25.m_flow|valAut50Ove.m_flow|valAut33Bal.m_flow|valAut100.dp|valAut75.dp|valAut50.dp|valAut33.dp|valAut25.dp|valAut50Ove.dp|valAut33Bal.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") [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.002061/0.002061, allocations: 67.39 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4259, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.06681/0.4927, allocations: 53.76 MB / 1.38 GB, free: 11.03 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.5145, allocations: 12.42 MB / 1.392 GB, free: 14.58 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003588/0.5181, allocations: 95.06 kB / 1.392 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00322/0.5213, allocations: 0.8342 MB / 1.393 GB, free: 13.64 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00929/0.5306, allocations: 2.583 MB / 1.395 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005132/0.5358, allocations: 1.658 MB / 1.397 GB, free: 9.414 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007814/0.5436, allocations: 4.278 MB / 1.401 GB, free: 5.117 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.5461, allocations: 1.137 MB / 1.402 GB, free: 3.945 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.5514, allocations: 2.012 MB / 1.404 GB, free: 1.926 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.5542, allocations: 1.287 MB / 1.405 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.5545, allocations: 116 kB / 1.405 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.5575, allocations: 0.975 MB / 1.406 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.5579, allocations: 358.2 kB / 1.407 GB, free: 15.19 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.5591, allocations: 0.7385 MB / 1.407 GB, free: 14.45 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.5631, allocations: 2.225 MB / 1.41 GB, free: 12.21 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.5631, allocations: 0 / 1.41 GB, free: 12.21 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5631, allocations: 0 / 1.41 GB, free: 12.21 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.5631, allocations: 0 / 1.41 GB, free: 12.21 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003891/0.567, allocations: 2.093 MB / 1.412 GB, free: 10.08 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.567, allocations: 8.031 kB / 1.412 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.5674, allocations: 214.7 kB / 1.412 GB, free: 9.859 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.5698, allocations: 1.132 MB / 1.413 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.104e-05/0.5699, allocations: 78 kB / 1.413 GB, free: 8.609 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.57, allocations: 104 kB / 1.413 GB, free: 8.508 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.5715, allocations: 0.7257 MB / 1.414 GB, free: 7.773 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5715, allocations: 0 / 1.414 GB, free: 7.773 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.5716, allocations: 36 kB / 1.414 GB, free: 7.738 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.5716, allocations: 24 kB / 1.414 GB, free: 7.715 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.5728, allocations: 0.5388 MB / 1.414 GB, free: 7.18 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.005132/0.5779, allocations: 2.21 MB / 1.417 GB, free: 4.922 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/0.5787, allocations: 422.4 kB / 1.417 GB, free: 4.5 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.5791, allocations: 203.1 kB / 1.417 GB, free: 4.297 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.5794, allocations: 56.39 kB / 1.417 GB, free: 4.238 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.5794, allocations: 42.94 kB / 1.417 GB, free: 4.188 MB / 1.107 GB Notification: Performance of pre-optimization done (n=51): time 3.486e-06/0.5794, allocations: 0 / 1.417 GB, free: 4.188 MB / 1.107 GB Notification: Performance of matching and sorting (n=51): time 0.004611/0.584, allocations: 1.202 MB / 1.418 GB, free: 2.965 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.5841, allocations: 59.84 kB / 1.418 GB, free: 2.895 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.5858, allocations: 1.232 MB / 1.42 GB, free: 1.652 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/0.5859, allocations: 45.7 kB / 1.42 GB, free: 1.602 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006519/0.5865, allocations: 0.6876 MB / 1.42 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.5867, allocations: 186.3 kB / 1.421 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.587, allocations: 174.5 kB / 1.421 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5872, allocations: 334 kB / 1.421 GB, free: 220 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.5876, allocations: 196 kB / 1.421 GB, free: 20 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.589, allocations: 1.325 MB / 1.423 GB, free: 14.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/0.5898, allocations: 447.1 kB / 1.423 GB, free: 13.94 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5899, allocations: 0 / 1.423 GB, free: 13.94 MB / 1.123 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003149/0.593, allocations: 1.051 MB / 1.424 GB, free: 12.86 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.593, allocations: 4 kB / 1.424 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.593, allocations: 0 / 1.424 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.5951, allocations: 360.8 kB / 1.424 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.5957, allocations: 127.8 kB / 1.424 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.5989, allocations: 3.967 MB / 1.428 GB, free: 8.219 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6002, allocations: 107.8 kB / 1.428 GB, free: 8.113 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.576e-05/0.6003, allocations: 27.98 kB / 1.428 GB, free: 8.086 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000823/0.6011, allocations: 385.3 kB / 1.429 GB, free: 7.707 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001261/0.6023, allocations: 1.327 MB / 1.43 GB, free: 6.047 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008074/0.6032, allocations: 447.5 kB / 1.431 GB, free: 5.578 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.6032, allocations: 0 / 1.431 GB, free: 5.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.00207/0.6052, allocations: 0.8447 MB / 1.431 GB, free: 4.707 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6052, allocations: 8 kB / 1.431 GB, free: 4.699 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6052, allocations: 8.031 kB / 1.431 GB, free: 4.691 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007135/0.606, allocations: 217.3 kB / 1.432 GB, free: 4.461 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.6064, allocations: 99.81 kB / 1.432 GB, free: 4.363 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008886/0.6153, allocations: 9.046 MB / 1.441 GB, free: 10.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.617, allocations: 124.2 kB / 1.441 GB, free: 10.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.617, allocations: 28 kB / 1.441 GB, free: 10.56 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,5), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.6174, allocations: 220.5 kB / 1.441 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.6177, allocations: 147 kB / 1.441 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.6197, allocations: 0.9219 MB / 1.442 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.6197, allocations: 3.984 kB / 1.442 GB, free: 9.242 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6197, allocations: 0 / 1.442 GB, free: 9.242 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.6201, allocations: 178.9 kB / 1.442 GB, free: 9.066 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6203, allocations: 19.88 kB / 1.442 GB, free: 9.047 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004573/0.6207, allocations: 31.95 kB / 1.442 GB, free: 9.016 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6208, allocations: 72.31 kB / 1.442 GB, free: 8.945 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001691/0.6225, allocations: 0.7985 MB / 1.443 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001646/0.6242, allocations: 1.055 MB / 1.444 GB, free: 7.043 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003983/0.6246, allocations: 208 kB / 1.444 GB, free: 6.844 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001203/0.6258, allocations: 0.8158 MB / 1.445 GB, free: 6.031 MB / 1.139 GB Notification: Performance of Backend: time 4.91e-07/0.6258, allocations: 0 / 1.445 GB, free: 6.031 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004374/0.6302, allocations: 1.807 MB / 1.447 GB, free: 4.148 MB / 1.139 GB Notification: Performance of SimCode: time 0.005628/0.6358, allocations: 3.272 MB / 1.45 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of Templates: time 0.05773/0.6935, allocations: 31.76 MB / 1.481 GB, free: 1.625 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; mkfifo Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe >> ../files/Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.sim & ./Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HydronicConfigurations_Examples_TwoWayOpenLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.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.762342624999292]