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.001677/0.001677, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002525/0.002525, allocations: 220.8 kB / 22.26 MB, free: 5.125 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.618/1.618, allocations: 230.6 MB / 256 MB, free: 8.004 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.967/2.967, allocations: 476.7 MB / 0.7706 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] 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.002173/0.002173, allocations: 71.69 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4518, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.256/0.7078, allocations: 187.1 MB / 1.467 GB, free: 15.44 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.7178, allocations: 4.899 MB / 1.471 GB, free: 10.53 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.7191, allocations: 47.56 kB / 1.471 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.7206, allocations: 461.3 kB / 1.472 GB, free: 10.03 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.7251, allocations: 1.486 MB / 1.473 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.7278, allocations: 0.8057 MB / 1.474 GB, free: 7.742 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.7312, allocations: 1.902 MB / 1.476 GB, free: 5.836 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.7323, allocations: 465 kB / 1.476 GB, free: 5.371 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/0.7348, allocations: 0.93 MB / 1.477 GB, free: 4.438 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.7368, allocations: 0.5784 MB / 1.478 GB, free: 3.859 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.737, allocations: 56 kB / 1.478 GB, free: 3.805 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/0.7406, allocations: 1.493 MB / 1.479 GB, free: 2.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005063/0.7411, allocations: 283.1 kB / 1.48 GB, free: 2.031 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008818/0.742, allocations: 402.1 kB / 1.48 GB, free: 1.637 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.7458, allocations: 1.433 MB / 1.481 GB, free: 204 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7458, allocations: 0 / 1.481 GB, free: 204 kB / 1.17 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7458, allocations: 0 / 1.481 GB, free: 204 kB / 1.17 GB Notification: Performance of Transformations before backend: time 4.965e-05/0.7458, allocations: 0 / 1.481 GB, free: 204 kB / 1.17 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.003289/0.7491, allocations: 1.056 MB / 1.482 GB, free: 15.1 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.7492, allocations: 8.031 kB / 1.482 GB, free: 15.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.7508, allocations: 207.3 kB / 1.483 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.7525, allocations: 0.5523 MB / 1.483 GB, free: 14.31 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.7525, allocations: 33 kB / 1.483 GB, free: 14.28 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.7526, allocations: 51.95 kB / 1.483 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.7538, allocations: 0.4944 MB / 1.484 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.7538, allocations: 3.984 kB / 1.484 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.7538, allocations: 20 kB / 1.484 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.7539, allocations: 21 kB / 1.484 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/0.7548, allocations: 439.7 kB / 1.484 GB, free: 13.26 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.003676/0.7584, allocations: 1.958 MB / 1.486 GB, free: 11.13 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/0.7592, allocations: 335.4 kB / 1.486 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.7596, allocations: 197.3 kB / 1.487 GB, free: 10.6 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.7598, allocations: 44.25 kB / 1.487 GB, free: 10.55 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.7599, allocations: 34.84 kB / 1.487 GB, free: 10.51 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.983e-06/0.7599, allocations: 0 / 1.487 GB, free: 10.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.001402/0.7613, allocations: 0.5421 MB / 1.487 GB, free: 9.965 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.7613, allocations: 67.27 kB / 1.487 GB, free: 9.887 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007192/0.762, allocations: 0.503 MB / 1.488 GB, free: 9.371 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.7621, allocations: 33.7 kB / 1.488 GB, free: 9.332 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.7624, allocations: 300.6 kB / 1.488 GB, free: 9.035 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.7625, allocations: 130.8 kB / 1.488 GB, free: 8.906 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.7627, allocations: 70.02 kB / 1.488 GB, free: 8.832 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002497/0.7629, allocations: 370.8 kB / 1.489 GB, free: 8.461 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.7632, allocations: 142.1 kB / 1.489 GB, free: 8.32 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.7636, allocations: 223.6 kB / 1.489 GB, free: 8.078 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/0.7643, allocations: 332.4 kB / 1.489 GB, free: 7.742 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7643, allocations: 0 / 1.489 GB, free: 7.742 MB / 1.186 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008809/0.7652, allocations: 445.9 kB / 1.49 GB, free: 7.301 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.7652, allocations: 10.75 kB / 1.49 GB, free: 7.293 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7652, allocations: 3.984 kB / 1.49 GB, free: 7.289 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.7652, allocations: 4 kB / 1.49 GB, free: 7.285 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.7656, allocations: 71.91 kB / 1.49 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.7656, allocations: 3.938 kB / 1.49 GB, free: 7.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.7661, allocations: 39.75 kB / 1.49 GB, free: 7.172 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.7661, allocations: 16.09 kB / 1.49 GB, free: 7.156 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005919/0.7667, allocations: 308 kB / 1.49 GB, free: 6.852 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003675/0.7671, allocations: 202.8 kB / 1.49 GB, free: 6.629 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006409/0.7677, allocations: 335.1 kB / 1.491 GB, free: 6.289 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.7677, allocations: 0 / 1.491 GB, free: 6.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008634/0.7686, allocations: 429.1 kB / 1.491 GB, free: 5.863 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7686, allocations: 4 kB / 1.491 GB, free: 5.859 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7686, allocations: 8.094 kB / 1.491 GB, free: 5.852 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-06/0.7686, allocations: 0 / 1.491 GB, free: 5.852 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.769, allocations: 75.89 kB / 1.491 GB, free: 5.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.769, allocations: 0 / 1.491 GB, free: 5.777 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.7694, allocations: 35.77 kB / 1.491 GB, free: 5.742 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.7695, allocations: 16 kB / 1.491 GB, free: 5.727 MB / 1.186 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.0001818/0.7697, allocations: 196.2 kB / 1.491 GB, free: 5.527 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.7698, allocations: 71.61 kB / 1.491 GB, free: 5.457 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008993/0.7707, allocations: 412.7 kB / 1.492 GB, free: 5.051 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7707, allocations: 4 kB / 1.492 GB, free: 5.047 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7707, allocations: 3.938 kB / 1.492 GB, free: 5.043 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007091/0.7714, allocations: 444.4 kB / 1.492 GB, free: 4.578 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.7737, allocations: 1.143 MB / 1.493 GB, free: 3.367 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.7737, allocations: 7.938 kB / 1.493 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.7741, allocations: 88.08 kB / 1.494 GB, free: 3.273 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.7741, allocations: 4 kB / 1.494 GB, free: 3.27 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.7741, allocations: 8 kB / 1.494 GB, free: 3.262 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.7741, allocations: 0 / 1.494 GB, free: 3.262 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7741, allocations: 4 kB / 1.494 GB, free: 3.258 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.7754, allocations: 0.7069 MB / 1.494 GB, free: 2.516 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.7757, allocations: 107.5 kB / 1.494 GB, free: 2.41 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.7758, allocations: 12.05 kB / 1.494 GB, free: 2.398 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.7762, allocations: 27.98 kB / 1.494 GB, free: 2.371 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.7763, allocations: 27.95 kB / 1.494 GB, free: 2.344 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.7764, allocations: 19.92 kB / 1.494 GB, free: 2.324 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005123/0.7769, allocations: 362.8 kB / 1.495 GB, free: 1.973 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7769, allocations: 0 / 1.495 GB, free: 1.973 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009937/0.7779, allocations: 327.4 kB / 1.495 GB, free: 1.652 MB / 1.186 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.0003971/0.7783, allocations: 183.6 kB / 1.495 GB, free: 1.465 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.7795, allocations: 0.4954 MB / 1.496 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7795, allocations: 0 / 1.496 GB, free: 0.9688 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.7798, allocations: 167.7 kB / 1.496 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.7816, allocations: 359.3 kB / 1.496 GB, free: 472 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.7842, allocations: 1.264 MB / 1.497 GB, free: 15.14 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000819/0.785, allocations: 0.9373 MB / 1.498 GB, free: 14.18 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006649/0.7857, allocations: 180.8 kB / 1.499 GB, free: 14 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.7859, allocations: 51.44 kB / 1.499 GB, free: 13.95 MB / 1.201 GB Notification: Performance of SimCode: time 6.52e-07/0.7859, allocations: 0 / 1.499 GB, free: 13.95 MB / 1.201 GB Notification: Performance of Templates: time 0.02655/0.8124, allocations: 12.06 MB / 1.51 GB, free: 2.07 MB / 1.201 GB " [Timeout remaining time 298] 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/jenkins/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: 11.074348464142531]