Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001621/0.001621, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001769/0.001769, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.412/3.412, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_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.002683/0.002683, allocations: 75.06 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.444, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2321/0.6761, allocations: 187.2 MB / 1.537 GB, free: 12.12 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009462/0.6856, allocations: 4.909 MB / 1.542 GB, free: 7.207 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.6868, allocations: 43.62 kB / 1.542 GB, free: 7.164 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.6881, allocations: 453.3 kB / 1.542 GB, free: 6.719 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004304/0.6924, allocations: 1.489 MB / 1.544 GB, free: 5.227 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.6947, allocations: 0.8098 MB / 1.544 GB, free: 4.422 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.6976, allocations: 1.902 MB / 1.546 GB, free: 2.516 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008006/0.6984, allocations: 477 kB / 1.547 GB, free: 2.039 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.701, allocations: 1.137 MB / 1.548 GB, free: 0.8984 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.7024, allocations: 0.5662 MB / 1.548 GB, free: 340 kB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.7025, allocations: 56 kB / 1.548 GB, free: 284 kB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.7056, allocations: 1.485 MB / 1.55 GB, free: 14.79 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.7059, allocations: 279.1 kB / 1.55 GB, free: 14.52 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.7064, allocations: 406.1 kB / 1.55 GB, free: 14.12 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.709, allocations: 1.425 MB / 1.552 GB, free: 12.69 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.709, allocations: 0 / 1.552 GB, free: 12.69 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.264e-06/0.709, allocations: 0 / 1.552 GB, free: 12.69 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.709, allocations: 0 / 1.552 GB, free: 12.69 MB / 1.248 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.002001/0.711, allocations: 1.066 MB / 1.553 GB, free: 11.59 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.711, allocations: 12.03 kB / 1.553 GB, free: 11.57 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.7123, allocations: 215.3 kB / 1.553 GB, free: 11.36 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.7135, allocations: 0.5523 MB / 1.554 GB, free: 10.78 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.7135, allocations: 40.94 kB / 1.554 GB, free: 10.74 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.7136, allocations: 51.95 kB / 1.554 GB, free: 10.69 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/0.7146, allocations: 498.3 kB / 1.554 GB, free: 10.2 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.7146, allocations: 4 kB / 1.554 GB, free: 10.2 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.7146, allocations: 16 kB / 1.554 GB, free: 10.18 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.7147, allocations: 17 kB / 1.554 GB, free: 10.17 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.7155, allocations: 443.6 kB / 1.555 GB, free: 9.73 MB / 1.248 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.003105/0.7186, allocations: 2.041 MB / 1.557 GB, free: 7.496 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.7193, allocations: 331.5 kB / 1.557 GB, free: 7.164 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.7196, allocations: 202.5 kB / 1.557 GB, free: 6.965 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/0.7199, allocations: 36.25 kB / 1.557 GB, free: 6.93 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.7199, allocations: 34.84 kB / 1.557 GB, free: 6.887 MB / 1.248 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.7199, allocations: 0 / 1.557 GB, free: 6.887 MB / 1.248 GB Notification: Performance of matching and sorting (n=33): time 0.001338/0.7212, allocations: 0.5538 MB / 1.558 GB, free: 6.328 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.7213, allocations: 63.28 kB / 1.558 GB, free: 6.254 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/0.7219, allocations: 0.5069 MB / 1.558 GB, free: 5.734 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.722, allocations: 33.7 kB / 1.558 GB, free: 5.695 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.7222, allocations: 316.5 kB / 1.559 GB, free: 5.383 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.7224, allocations: 123 kB / 1.559 GB, free: 5.262 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.7225, allocations: 70.02 kB / 1.559 GB, free: 5.188 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.7227, allocations: 366.8 kB / 1.559 GB, free: 4.82 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.723, allocations: 142.1 kB / 1.559 GB, free: 4.68 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.7234, allocations: 219.6 kB / 1.56 GB, free: 4.441 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.724, allocations: 335.7 kB / 1.56 GB, free: 4.102 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.724, allocations: 0 / 1.56 GB, free: 4.102 MB / 1.248 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008058/0.7248, allocations: 436.8 kB / 1.56 GB, free: 3.668 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7248, allocations: 8 kB / 1.56 GB, free: 3.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7248, allocations: 0 / 1.56 GB, free: 3.66 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.7248, allocations: 0 / 1.56 GB, free: 3.66 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.7252, allocations: 75.84 kB / 1.56 GB, free: 3.586 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.7252, allocations: 7.938 kB / 1.56 GB, free: 3.578 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.7257, allocations: 43.84 kB / 1.56 GB, free: 3.535 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.7257, allocations: 12 kB / 1.56 GB, free: 3.523 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004824/0.7262, allocations: 304 kB / 1.561 GB, free: 3.223 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003448/0.7265, allocations: 210.8 kB / 1.561 GB, free: 2.992 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005962/0.7271, allocations: 339.2 kB / 1.561 GB, free: 2.648 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.7271, allocations: 3.938 kB / 1.561 GB, free: 2.645 MB / 1.248 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007497/0.7279, allocations: 421.1 kB / 1.562 GB, free: 2.227 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.7279, allocations: 8 kB / 1.562 GB, free: 2.219 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-06/0.7279, allocations: 0 / 1.562 GB, free: 2.219 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.471e-06/0.7279, allocations: 4 kB / 1.562 GB, free: 2.215 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.7282, allocations: 67.91 kB / 1.562 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.7282, allocations: 15.86 kB / 1.562 GB, free: 2.133 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.7287, allocations: 35.77 kB / 1.562 GB, free: 2.098 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.7287, allocations: 12 kB / 1.562 GB, free: 2.086 MB / 1.248 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.0001771/0.7289, allocations: 209.5 kB / 1.562 GB, free: 1.875 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.729, allocations: 59.62 kB / 1.562 GB, free: 1.816 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.7298, allocations: 415.1 kB / 1.562 GB, free: 1.406 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7298, allocations: 4.125 kB / 1.562 GB, free: 1.402 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7298, allocations: 7.938 kB / 1.562 GB, free: 1.395 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006813/0.7305, allocations: 437.6 kB / 1.563 GB, free: 0.9375 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.7326, allocations: 1.155 MB / 1.564 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7326, allocations: 8.172 kB / 1.564 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.733, allocations: 83.89 kB / 1.564 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.733, allocations: 4 kB / 1.564 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.733, allocations: 11.94 kB / 1.564 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.733, allocations: 0 / 1.564 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7331, allocations: 4 kB / 1.564 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.7342, allocations: 0.711 MB / 1.565 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.7345, allocations: 99.56 kB / 1.565 GB, free: 14.76 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.7346, allocations: 11.98 kB / 1.565 GB, free: 14.75 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.735, allocations: 23.98 kB / 1.565 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.7351, allocations: 27.95 kB / 1.565 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.7351, allocations: 15.98 kB / 1.565 GB, free: 14.68 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0004749/0.7356, allocations: 370.8 kB / 1.565 GB, free: 14.32 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7356, allocations: 0 / 1.565 GB, free: 14.32 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009482/0.7365, allocations: 327.3 kB / 1.566 GB, free: 14 MB / 1.264 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.0003552/0.7369, allocations: 175 kB / 1.566 GB, free: 13.82 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.7379, allocations: 0.4962 MB / 1.566 GB, free: 13.33 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7379, allocations: 4 kB / 1.566 GB, free: 13.32 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.7383, allocations: 172.5 kB / 1.566 GB, free: 13.16 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.7399, allocations: 351.4 kB / 1.567 GB, free: 12.82 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.7422, allocations: 1.321 MB / 1.568 GB, free: 11.44 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.7428, allocations: 0.9256 MB / 1.569 GB, free: 10.48 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.743, allocations: 55.42 kB / 1.569 GB, free: 10.43 MB / 1.264 GB Notification: Performance of SimCode: time 7.62e-07/0.743, allocations: 3.938 kB / 1.569 GB, free: 10.43 MB / 1.264 GB Notification: Performance of Templates: time 0.01676/0.7598, allocations: 9.796 MB / 1.579 GB, free: 0.707 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.739029863005271]