Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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.001987/0.001987, allocations: 109.6 kB / 19.7 MB, free: 2.25 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.003074/0.003074, allocations: 217.1 kB / 23.01 MB, free: 5.086 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.815/2.815, allocations: 476.8 MB / 0.7714 GB, free: 4.266 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.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [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.00209/0.00209, allocations: 71.92 kB / 1.119 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 169.9 MB / 1.285 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2363/0.6132, allocations: 187.1 MB / 1.467 GB, free: 7.488 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009514/0.6227, allocations: 4.912 MB / 1.472 GB, free: 2.566 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.624, allocations: 43.62 kB / 1.472 GB, free: 2.523 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.6255, allocations: 453.3 kB / 1.473 GB, free: 2.078 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.63, allocations: 1.486 MB / 1.474 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.6326, allocations: 0.8099 MB / 1.475 GB, free: 15.78 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.6361, allocations: 1.903 MB / 1.477 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009412/0.6371, allocations: 472.9 kB / 1.477 GB, free: 13.4 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.6395, allocations: 0.9184 MB / 1.478 GB, free: 12.48 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.6411, allocations: 0.5874 MB / 1.479 GB, free: 11.89 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.6413, allocations: 56 kB / 1.479 GB, free: 11.84 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/0.6447, allocations: 1.493 MB / 1.48 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.6451, allocations: 275.1 kB / 1.48 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006015/0.6457, allocations: 414 kB / 1.481 GB, free: 9.664 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.6486, allocations: 1.425 MB / 1.482 GB, free: 8.234 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6486, allocations: 0 / 1.482 GB, free: 8.234 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6486, allocations: 0 / 1.482 GB, free: 8.234 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.6486, allocations: 0 / 1.482 GB, free: 8.234 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002048/0.6507, allocations: 1.052 MB / 1.483 GB, free: 7.145 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6507, allocations: 8.031 kB / 1.483 GB, free: 7.137 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.6521, allocations: 219.2 kB / 1.483 GB, free: 6.922 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.6533, allocations: 0.5485 MB / 1.484 GB, free: 6.344 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.6533, allocations: 33 kB / 1.484 GB, free: 6.312 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.162e-05/0.6534, allocations: 51.95 kB / 1.484 GB, free: 6.262 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.6544, allocations: 0.4906 MB / 1.485 GB, free: 5.77 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6544, allocations: 3.938 kB / 1.485 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.6544, allocations: 20 kB / 1.485 GB, free: 5.746 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.6545, allocations: 17 kB / 1.485 GB, free: 5.73 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.6553, allocations: 443.6 kB / 1.485 GB, free: 5.297 MB / 1.186 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.003229/0.6586, allocations: 1.966 MB / 1.487 GB, free: 3.156 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.6593, allocations: 323.5 kB / 1.487 GB, free: 2.832 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.6596, allocations: 205.2 kB / 1.487 GB, free: 2.629 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.6599, allocations: 36.25 kB / 1.487 GB, free: 2.594 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.6599, allocations: 38.84 kB / 1.487 GB, free: 2.547 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.6599, allocations: 0 / 1.487 GB, free: 2.547 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.0014/0.6613, allocations: 0.5461 MB / 1.488 GB, free: 1.996 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.6614, allocations: 63.28 kB / 1.488 GB, free: 1.922 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/0.6621, allocations: 0.5108 MB / 1.489 GB, free: 1.398 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.6621, allocations: 29.7 kB / 1.489 GB, free: 1.363 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.6624, allocations: 304.6 kB / 1.489 GB, free: 1.062 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6625, allocations: 126.9 kB / 1.489 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.6627, allocations: 74.02 kB / 1.489 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.6629, allocations: 366.8 kB / 1.489 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.6632, allocations: 138.1 kB / 1.49 GB, free: 364 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/0.6636, allocations: 219.6 kB / 1.49 GB, free: 120 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.6642, allocations: 340.3 kB / 1.49 GB, free: 15.77 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6642, allocations: 0 / 1.49 GB, free: 15.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008423/0.665, allocations: 441.9 kB / 1.491 GB, free: 15.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6651, allocations: 10.97 kB / 1.491 GB, free: 15.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.6651, allocations: 3.938 kB / 1.491 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.6651, allocations: 4 kB / 1.491 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.6654, allocations: 67.91 kB / 1.491 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.6655, allocations: 7.938 kB / 1.491 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.666, allocations: 39.75 kB / 1.491 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.666, allocations: 20.09 kB / 1.491 GB, free: 15.19 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005376/0.6665, allocations: 308 kB / 1.491 GB, free: 14.88 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003458/0.6669, allocations: 202.8 kB / 1.491 GB, free: 14.66 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006109/0.6675, allocations: 331.1 kB / 1.491 GB, free: 14.32 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.6675, allocations: 0 / 1.491 GB, free: 14.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007878/0.6683, allocations: 429.1 kB / 1.492 GB, free: 13.9 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.6683, allocations: 4.094 kB / 1.492 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.6683, allocations: 4 kB / 1.492 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.6683, allocations: 4 kB / 1.492 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.6686, allocations: 75.84 kB / 1.492 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.6686, allocations: 0 / 1.492 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.6691, allocations: 39.75 kB / 1.492 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.6692, allocations: 16 kB / 1.492 GB, free: 13.76 MB / 1.201 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 (39): * Single equations (assignments): 39 * 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.0001944/0.6693, allocations: 196.2 kB / 1.492 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6695, allocations: 63.62 kB / 1.492 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009078/0.6704, allocations: 416.8 kB / 1.493 GB, free: 13.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6704, allocations: 4 kB / 1.493 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6704, allocations: 3.938 kB / 1.493 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006855/0.6711, allocations: 436.4 kB / 1.493 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.6731, allocations: 1.151 MB / 1.494 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6731, allocations: 0 / 1.494 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.6736, allocations: 96.06 kB / 1.494 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.6736, allocations: 0 / 1.494 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.6736, allocations: 12 kB / 1.494 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6736, allocations: 0 / 1.494 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6736, allocations: 4.125 kB / 1.494 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6748, allocations: 0.7069 MB / 1.495 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.6751, allocations: 103.6 kB / 1.495 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.6752, allocations: 8 kB / 1.495 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.6756, allocations: 35.86 kB / 1.495 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.6757, allocations: 24.05 kB / 1.495 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.6757, allocations: 16 kB / 1.495 GB, free: 10.37 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004645/0.6762, allocations: 366.8 kB / 1.496 GB, free: 10.01 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6762, allocations: 0 / 1.496 GB, free: 10.01 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008941/0.6771, allocations: 323.4 kB / 1.496 GB, free: 9.695 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0003465/0.6774, allocations: 183.5 kB / 1.496 GB, free: 9.508 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.6785, allocations: 0.4993 MB / 1.496 GB, free: 9.008 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6786, allocations: 0 / 1.496 GB, free: 9.008 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003436/0.6789, allocations: 167.8 kB / 1.497 GB, free: 8.844 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.6807, allocations: 353 kB / 1.497 GB, free: 8.504 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.6834, allocations: 1.316 MB / 1.498 GB, free: 7.129 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.6841, allocations: 0.9295 MB / 1.499 GB, free: 6.172 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.6843, allocations: 51.44 kB / 1.499 GB, free: 6.121 MB / 1.201 GB Notification: Performance of SimCode: time 1.182e-06/0.6843, allocations: 0 / 1.499 GB, free: 6.121 MB / 1.201 GB Notification: Performance of Templates: time 0.01706/0.7014, allocations: 9.766 MB / 1.509 GB, free: 12.45 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.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: 13.986709300021175]