Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 192.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 251 MB, free: 13.03 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.768/2.768, allocations: 476.7 MB / 0.7646 GB, free: 9.883 MB / 0.6231 GB " [Timeout remaining time 177] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Examples.Performance.Example2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 67.89 kB / 1.11 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9012/0.9033, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03766/0.941, allocations: 30.58 MB / 1.304 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.963, allocations: 11.84 MB / 1.316 GB, free: 9.613 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003896/0.9669, allocations: 63.5 kB / 1.316 GB, free: 9.551 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006997/0.9739, allocations: 1.58 MB / 1.317 GB, free: 7.969 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007523/0.9814, allocations: 1.695 MB / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005316/0.9867, allocations: 1.556 MB / 1.321 GB, free: 4.715 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.9989, allocations: 6.906 MB / 1.327 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/1.001, allocations: 1.085 MB / 1.328 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/1.005, allocations: 1.546 MB / 1.33 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002615/1.008, allocations: 1.179 MB / 1.331 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004963/1.009, allocations: 128 kB / 1.331 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/1.013, allocations: 1.396 MB / 1.332 GB, free: 8.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009582/1.014, allocations: 0.5487 MB / 1.333 GB, free: 7.879 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/1.015, allocations: 0.9677 MB / 1.334 GB, free: 6.906 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006062/1.021, allocations: 3.067 MB / 1.337 GB, free: 3.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.021, allocations: 0 / 1.337 GB, free: 3.828 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/1.021, allocations: 0 / 1.337 GB, free: 3.828 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.702e-05/1.021, allocations: 0 / 1.337 GB, free: 3.828 MB / 1.029 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.004929/1.026, allocations: 2.359 MB / 1.339 GB, free: 1.414 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.026, allocations: 8.031 kB / 1.339 GB, free: 1.406 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/1.028, allocations: 402.3 kB / 1.34 GB, free: 1.012 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/1.033, allocations: 2.329 MB / 1.342 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/1.033, allocations: 66 kB / 1.342 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/1.033, allocations: 91.98 kB / 1.342 GB, free: 14.47 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.035, allocations: 1.009 MB / 1.343 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.035, allocations: 4 kB / 1.343 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.036, allocations: 32 kB / 1.343 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/1.036, allocations: 20 kB / 1.343 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/1.037, allocations: 0.761 MB / 1.344 GB, free: 12.59 MB / 1.045 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.007944/1.045, allocations: 5.191 MB / 1.349 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/1.047, allocations: 0.5402 MB / 1.349 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007277/1.048, allocations: 303 kB / 1.35 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002689/1.05, allocations: 1.182 MB / 1.351 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008463/1.051, allocations: 326.9 kB / 1.351 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005365/1.052, allocations: 71.48 kB / 1.351 GB, free: 4.602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=42): time 3.797e-06/1.052, allocations: 0 / 1.351 GB, free: 4.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.003807/1.055, allocations: 1.16 MB / 1.352 GB, free: 3.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/1.056, allocations: 59.41 kB / 1.352 GB, free: 3.359 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/1.059, allocations: 1.873 MB / 1.354 GB, free: 1.441 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/1.059, allocations: 37.7 kB / 1.354 GB, free: 1.398 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009367/1.06, allocations: 0.7921 MB / 1.355 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/1.06, allocations: 162.7 kB / 1.355 GB, free: 448 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004997/1.061, allocations: 262.5 kB / 1.356 GB, free: 180 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.061, allocations: 357.9 kB / 1.356 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/1.062, allocations: 464.8 kB / 1.356 GB, free: 15.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/1.063, allocations: 0.8392 MB / 1.357 GB, free: 14.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/1.066, allocations: 1.167 MB / 1.358 GB, free: 13.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/1.066, allocations: 7.938 kB / 1.358 GB, free: 13.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003693/1.069, allocations: 1.602 MB / 1.36 GB, free: 11.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/1.069, allocations: 37.7 kB / 1.36 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/1.069, allocations: 8.594 kB / 1.36 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007346/1.07, allocations: 196.5 kB / 1.36 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/1.071, allocations: 199.7 kB / 1.36 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/1.072, allocations: 0.7688 MB / 1.361 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.073, allocations: 68.02 kB / 1.361 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/1.073, allocations: 47.98 kB / 1.361 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001746/1.075, allocations: 0.8691 MB / 1.362 GB, free: 9.227 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00123/1.076, allocations: 0.8187 MB / 1.363 GB, free: 8.246 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001931/1.078, allocations: 1.138 MB / 1.364 GB, free: 6.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.057e-05/1.078, allocations: 4 kB / 1.364 GB, free: 6.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003464/1.082, allocations: 1.523 MB / 1.365 GB, free: 5.438 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/1.082, allocations: 37.69 kB / 1.365 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.082, allocations: 8 kB / 1.365 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/1.082, allocations: 104.7 kB / 1.365 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/1.083, allocations: 199.6 kB / 1.366 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/1.086, allocations: 2.247 MB / 1.368 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.087, allocations: 80.14 kB / 1.368 GB, free: 2.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.088, allocations: 43.98 kB / 1.368 GB, free: 2.594 MB / 1.061 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.0004402/1.088, allocations: 243.9 kB / 1.368 GB, free: 2.348 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006375/1.089, allocations: 174.8 kB / 1.368 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/1.091, allocations: 0.908 MB / 1.369 GB, free: 1.258 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.091, allocations: 11.98 kB / 1.369 GB, free: 1.246 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.091, allocations: 0 / 1.369 GB, free: 1.246 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/1.093, allocations: 0.8921 MB / 1.37 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00519/1.098, allocations: 1.974 MB / 1.372 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.098, allocations: 0 / 1.372 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/1.099, allocations: 83.88 kB / 1.372 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/1.099, allocations: 128.8 kB / 1.372 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/1.099, allocations: 12 kB / 1.372 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007203/1.1, allocations: 0.7474 MB / 1.373 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.1, allocations: 7.938 kB / 1.373 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/1.103, allocations: 1.254 MB / 1.374 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/1.104, allocations: 246.7 kB / 1.375 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004182/1.104, allocations: 8 kB / 1.375 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009566/1.105, allocations: 44.02 kB / 1.375 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.105, allocations: 35.94 kB / 1.375 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.59e-05/1.105, allocations: 19.98 kB / 1.375 GB, free: 11.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002708/1.108, allocations: 1.277 MB / 1.376 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.108, allocations: 0 / 1.376 GB, free: 10.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003216/1.111, allocations: 0.8112 MB / 1.377 GB, free: 9.492 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001569/1.113, allocations: 0.5106 MB / 1.377 GB, free: 8.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004125/1.117, allocations: 1.766 MB / 1.379 GB, free: 7.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.117, allocations: 0 / 1.379 GB, free: 7.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008909/1.118, allocations: 316.2 kB / 1.379 GB, free: 6.871 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/1.122, allocations: 0.8036 MB / 1.38 GB, free: 6.086 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/1.129, allocations: 3.049 MB / 1.383 GB, free: 2.996 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.131, allocations: 1.445 MB / 1.384 GB, free: 1.523 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001902/1.133, allocations: 433.2 kB / 1.385 GB, free: 1.094 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/1.133, allocations: 135.4 kB / 1.385 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/1.133, allocations: 0 / 1.385 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of Templates: time 0.06856/1.202, allocations: 34.3 MB / 1.418 GB, free: 15.07 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.245752045884728]