Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example2.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.001834/0.001834, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.00225/0.00225, allocations: 211.2 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.115/3.115, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example2") [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.002031/0.002031, allocations: 69.34 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3115, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03174/0.3432, allocations: 27.81 MB / 1.354 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.3608, allocations: 10.89 MB / 1.365 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.3624, allocations: 67.5 kB / 1.365 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004132/0.3666, allocations: 1.518 MB / 1.366 GB, free: 8.555 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004143/0.3707, allocations: 1.716 MB / 1.368 GB, free: 6.832 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.3742, allocations: 1.564 MB / 1.37 GB, free: 5.273 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008702/0.3829, allocations: 6.691 MB / 1.376 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.3846, allocations: 1.104 MB / 1.377 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.3884, allocations: 2.007 MB / 1.379 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.39, allocations: 1.163 MB / 1.38 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.3902, allocations: 123.9 kB / 1.38 GB, free: 10.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.3926, allocations: 1.205 MB / 1.382 GB, free: 8.926 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.3931, allocations: 0.5331 MB / 1.382 GB, free: 8.391 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009087/0.394, allocations: 0.7541 MB / 1.383 GB, free: 7.633 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006265/0.4003, allocations: 3.012 MB / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4003, allocations: 0 / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4003, allocations: 0 / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.265e-05/0.4004, allocations: 0 / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005239/0.4056, allocations: 2.347 MB / 1.388 GB, free: 2.207 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.4057, allocations: 8.031 kB / 1.388 GB, free: 2.199 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.4077, allocations: 390.4 kB / 1.388 GB, free: 1.816 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.4122, allocations: 2.305 MB / 1.391 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.4122, allocations: 62 kB / 1.391 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.4124, allocations: 88 kB / 1.391 GB, free: 15.31 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.4144, allocations: 1.16 MB / 1.392 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.4145, allocations: 4 kB / 1.392 GB, free: 14.05 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.4146, allocations: 39.98 kB / 1.392 GB, free: 14.01 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.4146, allocations: 20 kB / 1.392 GB, free: 13.99 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.4164, allocations: 0.7571 MB / 1.393 GB, free: 13.23 MB / 1.092 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.006175/0.4225, allocations: 4.039 MB / 1.397 GB, free: 9.059 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.4239, allocations: 0.5323 MB / 1.397 GB, free: 8.516 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007258/0.4246, allocations: 302 kB / 1.398 GB, free: 8.219 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/0.4267, allocations: 0.9856 MB / 1.399 GB, free: 7.211 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008805/0.4276, allocations: 451.4 kB / 1.399 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002962/0.4279, allocations: 59.56 kB / 1.399 GB, free: 6.668 MB / 1.092 GB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/0.4279, allocations: 3.938 kB / 1.399 GB, free: 6.664 MB / 1.092 GB Notification: Performance of matching and sorting (n=42): time 0.003526/0.4314, allocations: 1.152 MB / 1.4 GB, free: 5.5 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4315, allocations: 55.41 kB / 1.4 GB, free: 5.434 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.4338, allocations: 1.836 MB / 1.402 GB, free: 3.551 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.4339, allocations: 41.7 kB / 1.402 GB, free: 3.504 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007284/0.4346, allocations: 0.8074 MB / 1.403 GB, free: 2.688 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.4348, allocations: 158.7 kB / 1.403 GB, free: 2.531 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.4351, allocations: 266.4 kB / 1.403 GB, free: 2.266 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4353, allocations: 353.9 kB / 1.404 GB, free: 1.914 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.4362, allocations: 494.6 kB / 1.404 GB, free: 1.422 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.4377, allocations: 1.246 MB / 1.405 GB, free: 15.9 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.4396, allocations: 1.159 MB / 1.406 GB, free: 14.62 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.4396, allocations: 8 kB / 1.406 GB, free: 14.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003164/0.4428, allocations: 1.624 MB / 1.408 GB, free: 12.96 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.4428, allocations: 37.7 kB / 1.408 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.4428, allocations: 8 kB / 1.408 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007305/0.4436, allocations: 197.1 kB / 1.408 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.4443, allocations: 187.7 kB / 1.408 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008417/0.4452, allocations: 0.7707 MB / 1.409 GB, free: 11.74 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009964/0.4462, allocations: 71.97 kB / 1.409 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-05/0.4463, allocations: 47.98 kB / 1.409 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001483/0.4478, allocations: 0.8903 MB / 1.41 GB, free: 10.72 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001351/0.4491, allocations: 1.233 MB / 1.411 GB, free: 9.23 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001727/0.4508, allocations: 1.126 MB / 1.412 GB, free: 7.984 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.331e-06/0.4508, allocations: 4 kB / 1.412 GB, free: 7.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00274/0.4536, allocations: 1.533 MB / 1.414 GB, free: 6.422 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.4536, allocations: 37.64 kB / 1.414 GB, free: 6.379 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4536, allocations: 8 kB / 1.414 GB, free: 6.371 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.4539, allocations: 116.8 kB / 1.414 GB, free: 6.254 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.4546, allocations: 191.7 kB / 1.414 GB, free: 6.066 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.4569, allocations: 2.156 MB / 1.416 GB, free: 3.809 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009688/0.4579, allocations: 84.12 kB / 1.416 GB, free: 3.727 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.144e-05/0.458, allocations: 44 kB / 1.416 GB, free: 3.684 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.4583, allocations: 240 kB / 1.417 GB, free: 3.441 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.4585, allocations: 170.9 kB / 1.417 GB, free: 3.273 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.4608, allocations: 0.908 MB / 1.418 GB, free: 2.352 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001659/0.4624, allocations: 0.8883 MB / 1.419 GB, free: 1.395 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4624, allocations: 3.938 kB / 1.419 GB, free: 1.391 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/0.463, allocations: 242.7 kB / 1.419 GB, free: 1.152 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.4632, allocations: 8 kB / 1.419 GB, free: 1.145 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.4638, allocations: 43.95 kB / 1.419 GB, free: 1.102 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.4639, allocations: 48.33 kB / 1.419 GB, free: 1.055 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002101/0.466, allocations: 0.8242 MB / 1.42 GB, free: 224 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002335/0.4684, allocations: 1.191 MB / 1.421 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000634/0.469, allocations: 263.3 kB / 1.421 GB, free: 14.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001777/0.4708, allocations: 1.233 MB / 1.422 GB, free: 13.49 MB / 1.123 GB Notification: Performance of Backend: time 5.51e-07/0.4708, allocations: 0 / 1.422 GB, free: 13.49 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004727/0.4755, allocations: 2.115 MB / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of SimCode: time 0.006439/0.482, allocations: 3.981 MB / 1.428 GB, free: 7.312 MB / 1.123 GB Notification: Performance of Templates: time 0.0652/0.5472, allocations: 40.39 MB / 1.468 GB, free: 15.56 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example2.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: 9.876205887005199]