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.001802/0.001802, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002095/0.002095, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.573/1.573, allocations: 230.5 MB / 252.8 MB, free: 9.133 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.227/3.227, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 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.002099/0.002099, allocations: 81.55 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.432, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2518/0.6839, allocations: 186.9 MB / 1.504 GB, free: 7.281 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009483/0.6933, allocations: 4.889 MB / 1.508 GB, free: 2.383 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.6944, allocations: 43.62 kB / 1.509 GB, free: 2.34 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.6958, allocations: 457.3 kB / 1.509 GB, free: 1.891 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.7003, allocations: 1.462 MB / 1.51 GB, free: 432 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.7029, allocations: 0.7854 MB / 1.511 GB, free: 15.64 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003409/0.7063, allocations: 1.848 MB / 1.513 GB, free: 13.79 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008581/0.7071, allocations: 0.508 MB / 1.513 GB, free: 13.27 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.7101, allocations: 1.125 MB / 1.515 GB, free: 12.14 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.7118, allocations: 0.5705 MB / 1.515 GB, free: 11.57 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.7119, allocations: 56 kB / 1.515 GB, free: 11.51 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/0.7152, allocations: 1.465 MB / 1.517 GB, free: 10.04 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.7156, allocations: 271.1 kB / 1.517 GB, free: 9.777 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.000654/0.7163, allocations: 414 kB / 1.517 GB, free: 9.371 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.7198, allocations: 1.429 MB / 1.519 GB, free: 7.938 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7198, allocations: 0 / 1.519 GB, free: 7.938 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7198, allocations: 0 / 1.519 GB, free: 7.938 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.476e-05/0.7199, allocations: 3.938 kB / 1.519 GB, free: 7.934 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.002326/0.7222, allocations: 1.128 MB / 1.52 GB, free: 6.75 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.7222, allocations: 11.98 kB / 1.52 GB, free: 6.738 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.7237, allocations: 219.2 kB / 1.52 GB, free: 6.523 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.7249, allocations: 0.6284 MB / 1.521 GB, free: 5.855 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.725, allocations: 37 kB / 1.521 GB, free: 5.82 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.7251, allocations: 48 kB / 1.521 GB, free: 5.773 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/0.726, allocations: 0.4906 MB / 1.521 GB, free: 5.281 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.7261, allocations: 0 / 1.521 GB, free: 5.281 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.7261, allocations: 16 kB / 1.521 GB, free: 5.266 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.7261, allocations: 17 kB / 1.521 GB, free: 5.25 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008834/0.727, allocations: 439.7 kB / 1.522 GB, free: 4.82 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.003301/0.7303, allocations: 2.089 MB / 1.524 GB, free: 2.531 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007465/0.7311, allocations: 343.4 kB / 1.524 GB, free: 2.188 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.7315, allocations: 193.3 kB / 1.524 GB, free: 1.996 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003616/0.7319, allocations: 198.5 kB / 1.524 GB, free: 1.766 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.7319, allocations: 30.84 kB / 1.524 GB, free: 1.727 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.7319, allocations: 4 kB / 1.524 GB, free: 1.723 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.001426/0.7333, allocations: 0.5383 MB / 1.525 GB, free: 1.18 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.7334, allocations: 63.28 kB / 1.525 GB, free: 1.105 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.7341, allocations: 0.5185 MB / 1.525 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.7341, allocations: 29.7 kB / 1.525 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.7345, allocations: 304.7 kB / 1.526 GB, free: 244 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.7347, allocations: 134.8 kB / 1.526 GB, free: 108 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.7349, allocations: 66.03 kB / 1.526 GB, free: 36 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002401/0.7351, allocations: 374.8 kB / 1.526 GB, free: 15.66 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.7354, allocations: 138.1 kB / 1.526 GB, free: 15.52 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.7358, allocations: 219.6 kB / 1.527 GB, free: 15.29 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/0.7365, allocations: 343.5 kB / 1.527 GB, free: 14.94 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7365, allocations: 0 / 1.527 GB, free: 14.94 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008375/0.7374, allocations: 425 kB / 1.527 GB, free: 14.52 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7374, allocations: 8 kB / 1.527 GB, free: 14.51 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7374, allocations: 0 / 1.527 GB, free: 14.51 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.7374, allocations: 4 kB / 1.527 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.7378, allocations: 75.89 kB / 1.527 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.7378, allocations: 8.031 kB / 1.527 GB, free: 14.42 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.7383, allocations: 31.83 kB / 1.528 GB, free: 14.39 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.7384, allocations: 19.94 kB / 1.528 GB, free: 14.37 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005649/0.7389, allocations: 315.9 kB / 1.528 GB, free: 14.06 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003621/0.7393, allocations: 206.8 kB / 1.528 GB, free: 13.83 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006219/0.7399, allocations: 335.2 kB / 1.528 GB, free: 13.49 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.7399, allocations: 0 / 1.528 GB, free: 13.49 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008067/0.7407, allocations: 425 kB / 1.529 GB, free: 13.07 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7407, allocations: 9.859 kB / 1.529 GB, free: 13.06 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7407, allocations: 7.984 kB / 1.529 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-06/0.7407, allocations: 0 / 1.529 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.7411, allocations: 72.03 kB / 1.529 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.7411, allocations: 0 / 1.529 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.7415, allocations: 43.7 kB / 1.529 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.7416, allocations: 24.08 kB / 1.529 GB, free: 12.92 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.0002063/0.7418, allocations: 196.2 kB / 1.529 GB, free: 12.72 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.7419, allocations: 63.62 kB / 1.529 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.743, allocations: 424.1 kB / 1.53 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.743, allocations: 0 / 1.53 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.7431, allocations: 7.938 kB / 1.53 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008251/0.7439, allocations: 432.2 kB / 1.53 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.746, allocations: 1.175 MB / 1.531 GB, free: 10.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.746, allocations: 4 kB / 1.531 GB, free: 10.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004317/0.7464, allocations: 87.88 kB / 1.531 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.7464, allocations: 4 kB / 1.531 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.7465, allocations: 8 kB / 1.531 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7465, allocations: 0 / 1.531 GB, free: 10.42 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7465, allocations: 7.938 kB / 1.531 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.7479, allocations: 0.6992 MB / 1.532 GB, free: 9.68 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.7482, allocations: 184.7 kB / 1.532 GB, free: 9.48 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.7483, allocations: 11.98 kB / 1.532 GB, free: 9.469 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.7488, allocations: 19.98 kB / 1.532 GB, free: 9.449 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.7488, allocations: 27.91 kB / 1.532 GB, free: 9.422 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.7489, allocations: 19.98 kB / 1.532 GB, free: 9.402 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005375/0.7494, allocations: 366.8 kB / 1.533 GB, free: 9.047 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7494, allocations: 4 kB / 1.533 GB, free: 9.043 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001093/0.7505, allocations: 331.3 kB / 1.533 GB, free: 8.719 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.0003986/0.7509, allocations: 175.1 kB / 1.533 GB, free: 8.539 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.7521, allocations: 0.5008 MB / 1.533 GB, free: 8.039 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7521, allocations: 4 kB / 1.533 GB, free: 8.035 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.7524, allocations: 176.5 kB / 1.534 GB, free: 7.863 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7541, allocations: 343.9 kB / 1.534 GB, free: 7.531 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.7567, allocations: 1.267 MB / 1.535 GB, free: 6.211 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.7574, allocations: 0.9296 MB / 1.536 GB, free: 5.254 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006887/0.7581, allocations: 184.8 kB / 1.536 GB, free: 5.074 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.7583, allocations: 47.42 kB / 1.536 GB, free: 5.027 MB / 1.232 GB Notification: Performance of SimCode: time 1.052e-06/0.7583, allocations: 4 kB / 1.536 GB, free: 5.023 MB / 1.232 GB Notification: Performance of Templates: time 0.02608/0.7843, allocations: 11.86 MB / 1.548 GB, free: 9.332 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.027613283134997]