Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001959/0.001959, allocations: 110.4 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.002534/0.002534, allocations: 217.2 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.606/1.606, 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 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.482/3.482, allocations: 0.4899 GB / 0.7951 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] 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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_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.002127/0.002127, allocations: 64.94 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4848, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2723/0.7571, allocations: 187.2 MB / 1.509 GB, free: 5.602 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.7677, allocations: 4.913 MB / 1.514 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.7694, allocations: 43.62 kB / 1.514 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.7713, allocations: 457.3 kB / 1.514 GB, free: 192 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.7766, allocations: 1.486 MB / 1.516 GB, free: 14.69 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.7795, allocations: 0.8188 MB / 1.517 GB, free: 13.88 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003914/0.7834, allocations: 1.89 MB / 1.518 GB, free: 11.98 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.7844, allocations: 473 kB / 1.519 GB, free: 11.5 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.7876, allocations: 1.137 MB / 1.52 GB, free: 10.36 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.7891, allocations: 0.5712 MB / 1.521 GB, free: 9.793 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.7892, allocations: 56 kB / 1.521 GB, free: 9.738 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.793, allocations: 1.485 MB / 1.522 GB, free: 8.25 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.7934, allocations: 279.1 kB / 1.522 GB, free: 7.977 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005344/0.7939, allocations: 402 kB / 1.523 GB, free: 7.582 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.7966, allocations: 1.433 MB / 1.524 GB, free: 6.145 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.7966, allocations: 3.984 kB / 1.524 GB, free: 6.141 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7966, allocations: 0 / 1.524 GB, free: 6.141 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.7967, allocations: 0 / 1.524 GB, free: 6.141 MB / 1.217 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.002175/0.7988, allocations: 1.052 MB / 1.525 GB, free: 5.055 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.7989, allocations: 8.031 kB / 1.525 GB, free: 5.047 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.8003, allocations: 219.2 kB / 1.525 GB, free: 4.832 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.8014, allocations: 0.5524 MB / 1.526 GB, free: 4.254 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.8015, allocations: 36.98 kB / 1.526 GB, free: 4.215 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/0.8016, allocations: 48 kB / 1.526 GB, free: 4.168 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.8025, allocations: 498.3 kB / 1.526 GB, free: 3.676 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.8026, allocations: 7.938 kB / 1.526 GB, free: 3.668 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.8026, allocations: 16 kB / 1.527 GB, free: 3.652 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.8027, allocations: 21 kB / 1.527 GB, free: 3.633 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008563/0.8035, allocations: 447.6 kB / 1.527 GB, free: 3.195 MB / 1.217 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.003127/0.8066, allocations: 2.049 MB / 1.529 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.8073, allocations: 332.3 kB / 1.529 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.8077, allocations: 199.1 kB / 1.529 GB, free: 436 kB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.8079, allocations: 40.25 kB / 1.529 GB, free: 396 kB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.808, allocations: 38.84 kB / 1.53 GB, free: 348 kB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.808, allocations: 0 / 1.53 GB, free: 348 kB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.001377/0.8093, allocations: 0.5424 MB / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.8094, allocations: 67.03 kB / 1.53 GB, free: 15.71 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006764/0.8101, allocations: 0.5069 MB / 1.531 GB, free: 15.2 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.8101, allocations: 37.7 kB / 1.531 GB, free: 15.15 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.8104, allocations: 312.6 kB / 1.531 GB, free: 14.84 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.8105, allocations: 122.9 kB / 1.531 GB, free: 14.72 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.8107, allocations: 74.02 kB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.8109, allocations: 362.8 kB / 1.531 GB, free: 14.28 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.8112, allocations: 142.1 kB / 1.532 GB, free: 14.14 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.8115, allocations: 215.7 kB / 1.532 GB, free: 13.91 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.8122, allocations: 339.2 kB / 1.532 GB, free: 13.56 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8122, allocations: 4 kB / 1.532 GB, free: 13.56 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008011/0.813, allocations: 432.8 kB / 1.533 GB, free: 13.13 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.813, allocations: 8 kB / 1.533 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.813, allocations: 0 / 1.533 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.813, allocations: 0 / 1.533 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.8134, allocations: 75.84 kB / 1.533 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.8134, allocations: 7.938 kB / 1.533 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.8139, allocations: 43.78 kB / 1.533 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.8139, allocations: 16 kB / 1.533 GB, free: 12.98 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005104/0.8144, allocations: 304 kB / 1.533 GB, free: 12.68 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003543/0.8148, allocations: 211.4 kB / 1.533 GB, free: 12.45 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006182/0.8154, allocations: 343.2 kB / 1.534 GB, free: 12.1 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.8154, allocations: 0 / 1.534 GB, free: 12.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007693/0.8162, allocations: 421 kB / 1.534 GB, free: 11.68 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.8162, allocations: 8.094 kB / 1.534 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.8162, allocations: 0 / 1.534 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.391e-06/0.8162, allocations: 4 kB / 1.534 GB, free: 11.67 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.8165, allocations: 67.89 kB / 1.534 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8165, allocations: 7.938 kB / 1.534 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.8169, allocations: 39.77 kB / 1.534 GB, free: 11.56 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.817, allocations: 8 kB / 1.534 GB, free: 11.55 MB / 1.232 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.0001827/0.8171, allocations: 212.1 kB / 1.534 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.8173, allocations: 59.62 kB / 1.534 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/0.8181, allocations: 415.1 kB / 1.535 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.8181, allocations: 7.938 kB / 1.535 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8181, allocations: 0 / 1.535 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007037/0.8188, allocations: 441.6 kB / 1.535 GB, free: 10.4 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.8209, allocations: 1.147 MB / 1.536 GB, free: 9.184 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.8209, allocations: 4 kB / 1.536 GB, free: 9.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.8213, allocations: 84.08 kB / 1.536 GB, free: 9.098 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.8213, allocations: 4 kB / 1.536 GB, free: 9.094 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.8214, allocations: 12 kB / 1.536 GB, free: 9.082 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.8214, allocations: 3.938 kB / 1.536 GB, free: 9.078 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8214, allocations: 4 kB / 1.536 GB, free: 9.074 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.8226, allocations: 0.7071 MB / 1.537 GB, free: 8.332 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.8228, allocations: 99.56 kB / 1.537 GB, free: 8.234 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.8229, allocations: 11.98 kB / 1.537 GB, free: 8.223 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.8234, allocations: 28.05 kB / 1.537 GB, free: 8.195 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.8234, allocations: 27.95 kB / 1.537 GB, free: 8.168 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.8235, allocations: 19.92 kB / 1.537 GB, free: 8.148 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004723/0.8239, allocations: 366.8 kB / 1.538 GB, free: 7.793 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.8239, allocations: 3.938 kB / 1.538 GB, free: 7.789 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008838/0.8248, allocations: 323.4 kB / 1.538 GB, free: 7.473 MB / 1.232 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.000364/0.8252, allocations: 175.1 kB / 1.538 GB, free: 7.293 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.8262, allocations: 0.504 MB / 1.539 GB, free: 6.789 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8262, allocations: 0 / 1.539 GB, free: 6.789 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.8266, allocations: 167.8 kB / 1.539 GB, free: 6.625 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.8282, allocations: 353.1 kB / 1.539 GB, free: 6.289 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.8304, allocations: 1.28 MB / 1.54 GB, free: 4.961 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.831, allocations: 0.9334 MB / 1.541 GB, free: 4 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005792/0.8316, allocations: 184.8 kB / 1.541 GB, free: 3.82 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.8317, allocations: 51.42 kB / 1.541 GB, free: 3.77 MB / 1.232 GB Notification: Performance of SimCode: time 3.41e-07/0.8317, allocations: 0 / 1.541 GB, free: 3.77 MB / 1.232 GB Notification: Performance of Templates: time 0.02517/0.8569, allocations: 12.05 MB / 1.553 GB, free: 7.883 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_12_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_12_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.809976189397275]