Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.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.001843/0.001843, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002243/0.002243, allocations: 211.3 kB / 23 MB, free: 4.934 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.156/3.156, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1") [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.002018/0.002018, allocations: 69.91 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0766/0.423, allocations: 66.98 MB / 1.392 GB, free: 13.74 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02864/0.4517, allocations: 17.44 MB / 1.41 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.455, allocations: 130.9 kB / 1.41 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005389/0.4604, allocations: 1.839 MB / 1.411 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007259/0.4677, allocations: 2.648 MB / 1.414 GB, free: 7.637 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005448/0.4731, allocations: 2.252 MB / 1.416 GB, free: 5.395 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01398/0.4871, allocations: 10.88 MB / 1.427 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006941/0.4941, allocations: 4.925 MB / 1.432 GB, free: 5.488 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007788/0.5018, allocations: 3.909 MB / 1.435 GB, free: 1.57 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004704/0.5065, allocations: 2.637 MB / 1.438 GB, free: 14.92 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007075/0.5073, allocations: 256 kB / 1.438 GB, free: 14.67 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.5109, allocations: 1.439 MB / 1.44 GB, free: 13.23 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.512, allocations: 0.9142 MB / 1.441 GB, free: 12.31 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.5143, allocations: 1.574 MB / 1.442 GB, free: 10.73 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007995/0.5223, allocations: 5.367 MB / 1.447 GB, free: 5.344 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5223, allocations: 0 / 1.447 GB, free: 5.344 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5223, allocations: 4 kB / 1.447 GB, free: 5.34 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001161/0.5224, allocations: 0 / 1.447 GB, free: 5.34 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.008219/0.5307, allocations: 4.31 MB / 1.452 GB, free: 0.957 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5307, allocations: 8.031 kB / 1.452 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/0.5339, allocations: 0.6962 MB / 1.452 GB, free: 256 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007487/0.5414, allocations: 3.722 MB / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5415, allocations: 143.2 kB / 1.456 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.5418, allocations: 188 kB / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/0.5462, allocations: 2.523 MB / 1.459 GB, free: 9.406 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.5462, allocations: 3.938 kB / 1.459 GB, free: 9.402 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.5464, allocations: 75.98 kB / 1.459 GB, free: 9.328 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.5464, allocations: 44 kB / 1.459 GB, free: 9.285 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/0.5504, allocations: 1.954 MB / 1.461 GB, free: 7.324 MB / 1.154 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.01521/0.5656, allocations: 9.931 MB / 1.47 GB, free: 13.16 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.5686, allocations: 1.328 MB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.5704, allocations: 0.9852 MB / 1.473 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006608/0.577, allocations: 2.835 MB / 1.475 GB, free: 7.977 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/0.5789, allocations: 1.042 MB / 1.476 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00212/0.581, allocations: 478.8 kB / 1.477 GB, free: 6.418 MB / 1.17 GB Notification: Performance of pre-optimization done (n=95): time 5.25e-06/0.581, allocations: 0 / 1.477 GB, free: 6.418 MB / 1.17 GB Notification: Performance of matching and sorting (n=95): time 0.01287/0.5939, allocations: 4.36 MB / 1.481 GB, free: 2.039 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.5939, allocations: 64.41 kB / 1.481 GB, free: 1.965 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/0.5985, allocations: 3.42 MB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5987, allocations: 53.7 kB / 1.485 GB, free: 14.51 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001515/0.6002, allocations: 1.601 MB / 1.486 GB, free: 12.89 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.6006, allocations: 372.9 kB / 1.487 GB, free: 12.52 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007061/0.6013, allocations: 471.7 kB / 1.487 GB, free: 12.06 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6014, allocations: 313 kB / 1.487 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.6032, allocations: 0.9871 MB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003082/0.6063, allocations: 3.022 MB / 1.491 GB, free: 7.059 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.6102, allocations: 2.463 MB / 1.494 GB, free: 4.379 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.6102, allocations: 4 kB / 1.494 GB, free: 4.375 MB / 1.186 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007368/0.6176, allocations: 3.566 MB / 1.497 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.6176, allocations: 41.7 kB / 1.497 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.6177, allocations: 16 kB / 1.497 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.6202, allocations: 0.6767 MB / 1.498 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.6217, allocations: 369.2 kB / 1.498 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.6237, allocations: 1.909 MB / 1.5 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.6258, allocations: 116.5 kB / 1.5 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.626, allocations: 107.8 kB / 1.5 GB, free: 13.49 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002885/0.6289, allocations: 1.717 MB / 1.502 GB, free: 11.76 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002942/0.6318, allocations: 2.993 MB / 1.505 GB, free: 8.102 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003658/0.6355, allocations: 2.411 MB / 1.507 GB, free: 5.465 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.438e-06/0.6355, allocations: 4 kB / 1.507 GB, free: 5.461 MB / 1.201 GB Notification: Performance of matching and sorting (n=250) (initialization_lambda0): time 0.00619/0.6417, allocations: 3.372 MB / 1.511 GB, free: 2.055 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.6418, allocations: 41.7 kB / 1.511 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.6418, allocations: 16 kB / 1.511 GB, free: 1.992 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009828/0.6428, allocations: 469.4 kB / 1.511 GB, free: 1.527 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.6442, allocations: 361.2 kB / 1.511 GB, free: 1.176 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/0.6515, allocations: 5.922 MB / 1.517 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.6537, allocations: 145 kB / 1.517 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.6539, allocations: 91.95 kB / 1.517 GB, free: 10.81 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005103/0.6544, allocations: 300.2 kB / 1.518 GB, free: 10.51 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/0.6549, allocations: 349.6 kB / 1.518 GB, free: 10.17 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005479/0.6604, allocations: 2.622 MB / 1.521 GB, free: 7.531 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/0.6643, allocations: 2.176 MB / 1.523 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6643, allocations: 0 / 1.523 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.6656, allocations: 491.3 kB / 1.523 GB, free: 4.793 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003504/0.6659, allocations: 20 kB / 1.523 GB, free: 4.773 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.6671, allocations: 83.83 kB / 1.523 GB, free: 4.691 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.6673, allocations: 124.7 kB / 1.523 GB, free: 4.57 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004883/0.6722, allocations: 2.15 MB / 1.525 GB, free: 2.41 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005072/0.6773, allocations: 2.861 MB / 1.528 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001387/0.6787, allocations: 0.7068 MB / 1.529 GB, free: 14.82 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003343/0.682, allocations: 2.294 MB / 1.531 GB, free: 12.55 MB / 1.232 GB Notification: Performance of Backend: time 5.51e-07/0.682, allocations: 0 / 1.531 GB, free: 12.55 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007949/0.69, allocations: 3.758 MB / 1.535 GB, free: 8.73 MB / 1.232 GB Notification: Performance of SimCode: time 0.01274/0.7027, allocations: 7.604 MB / 1.542 GB, free: 1.09 MB / 1.232 GB Notification: Performance of Templates: time 0.7318/1.435, allocations: 75.97 MB / 1.616 GB, free: 269.2 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example1v1.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: 11.489701193000656]