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.001726/0.001726, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.002137/0.002137, allocations: 162.7 kB / 23.01 MB, free: 4.598 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: 177.2 MB / 203.4 MB, free: 8.895 MB / 190.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 2.92/2.92, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.002418/0.002418, allocations: 67.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2485/1.412, allocations: 162 MB / 1.312 GB, free: 3.426 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01318/1.425, allocations: 4.569 MB / 1.317 GB, free: 15.83 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/1.427, allocations: 43.25 kB / 1.317 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/1.428, allocations: 415.3 kB / 1.317 GB, free: 15.47 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/1.433, allocations: 1.462 MB / 1.318 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/1.436, allocations: 0.7993 MB / 1.319 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003515/1.44, allocations: 1.88 MB / 1.321 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009287/1.441, allocations: 463.9 kB / 1.321 GB, free: 12.33 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/1.444, allocations: 1.145 MB / 1.323 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/1.445, allocations: 0.545 MB / 1.323 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/1.446, allocations: 57.94 kB / 1.323 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/1.449, allocations: 1.148 MB / 1.324 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/1.449, allocations: 275.1 kB / 1.325 GB, free: 9.891 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/1.449, allocations: 334.5 kB / 1.325 GB, free: 9.562 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/1.452, allocations: 1.394 MB / 1.326 GB, free: 8.164 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.452, allocations: 7.938 kB / 1.326 GB, free: 8.156 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.633e-06/1.452, allocations: 0 / 1.326 GB, free: 8.156 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.784e-05/1.452, allocations: 0 / 1.326 GB, free: 8.156 MB / 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.001958/1.454, allocations: 1.048 MB / 1.327 GB, free: 7.074 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.912e-05/1.454, allocations: 16.02 kB / 1.327 GB, free: 7.059 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/1.455, allocations: 215.3 kB / 1.327 GB, free: 6.848 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/1.457, allocations: 0.5562 MB / 1.328 GB, free: 6.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/1.457, allocations: 33 kB / 1.328 GB, free: 6.238 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.457, allocations: 51.94 kB / 1.328 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.458, allocations: 0.6412 MB / 1.329 GB, free: 5.504 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/1.458, allocations: 0 / 1.329 GB, free: 5.504 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/1.458, allocations: 20 kB / 1.329 GB, free: 5.484 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/1.458, allocations: 17 kB / 1.329 GB, free: 5.465 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/1.459, allocations: 439.7 kB / 1.329 GB, free: 5.039 MB / 1.17 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.002599/1.461, allocations: 1.235 MB / 1.33 GB, free: 3.762 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/1.462, allocations: 334.3 kB / 1.331 GB, free: 3.43 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/1.462, allocations: 204.1 kB / 1.331 GB, free: 3.23 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/1.463, allocations: 44.19 kB / 1.331 GB, free: 3.188 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.463, allocations: 38.78 kB / 1.331 GB, free: 3.141 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/1.463, allocations: 0 / 1.331 GB, free: 3.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.00134/1.464, allocations: 0.5475 MB / 1.332 GB, free: 2.59 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/1.464, allocations: 59.34 kB / 1.332 GB, free: 2.52 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/1.465, allocations: 474.9 kB / 1.332 GB, free: 2.043 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/1.465, allocations: 33.7 kB / 1.332 GB, free: 2.004 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/1.465, allocations: 312.5 kB / 1.332 GB, free: 1.695 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.465, allocations: 118.9 kB / 1.332 GB, free: 1.578 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/1.465, allocations: 74.02 kB / 1.333 GB, free: 1.5 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.465, allocations: 358.8 kB / 1.333 GB, free: 1.141 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/1.466, allocations: 146.1 kB / 1.333 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/1.466, allocations: 369.8 kB / 1.333 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/1.467, allocations: 340.6 kB / 1.334 GB, free: 236 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.467, allocations: 0 / 1.334 GB, free: 236 kB / 1.17 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008075/1.468, allocations: 433.6 kB / 1.334 GB, free: 15.8 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.468, allocations: 7.984 kB / 1.334 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.468, allocations: 0 / 1.334 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/1.468, allocations: 7.984 kB / 1.334 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/1.468, allocations: 71.91 kB / 1.334 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.468, allocations: 0 / 1.334 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/1.469, allocations: 35.61 kB / 1.334 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/1.469, allocations: 16.09 kB / 1.334 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004989/1.469, allocations: 308 kB / 1.335 GB, free: 15.36 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004691/1.47, allocations: 369.5 kB / 1.335 GB, free: 14.94 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006374/1.47, allocations: 327.5 kB / 1.335 GB, free: 14.61 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/1.47, allocations: 3.938 kB / 1.335 GB, free: 14.6 MB / 1.186 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007799/1.471, allocations: 424.8 kB / 1.336 GB, free: 14.18 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/1.471, allocations: 4 kB / 1.336 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/1.471, allocations: 4 kB / 1.336 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/1.471, allocations: 0 / 1.336 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/1.471, allocations: 71.91 kB / 1.336 GB, free: 14.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.471, allocations: 11.92 kB / 1.336 GB, free: 14.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/1.472, allocations: 40.03 kB / 1.336 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/1.472, allocations: 12 kB / 1.336 GB, free: 14.04 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.0001756/1.472, allocations: 200.9 kB / 1.336 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.472, allocations: 59.62 kB / 1.336 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/1.473, allocations: 422.6 kB / 1.336 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.473, allocations: 4 kB / 1.336 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.473, allocations: 3.938 kB / 1.336 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007335/1.474, allocations: 432.2 kB / 1.337 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/1.476, allocations: 1.01 MB / 1.338 GB, free: 11.83 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.476, allocations: 7.875 kB / 1.338 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/1.476, allocations: 80.08 kB / 1.338 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/1.476, allocations: 8 kB / 1.338 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/1.476, allocations: 12 kB / 1.338 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.476, allocations: 7.984 kB / 1.338 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.476, allocations: 0 / 1.338 GB, free: 11.72 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.477, allocations: 0.696 MB / 1.339 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/1.478, allocations: 99.55 kB / 1.339 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/1.478, allocations: 11.98 kB / 1.339 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/1.478, allocations: 31.92 kB / 1.339 GB, free: 10.85 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/1.478, allocations: 23.91 kB / 1.339 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/1.478, allocations: 19.98 kB / 1.339 GB, free: 10.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004252/1.479, allocations: 326.9 kB / 1.339 GB, free: 10.49 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.479, allocations: 0 / 1.339 GB, free: 10.49 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009958/1.48, allocations: 327.3 kB / 1.339 GB, free: 10.17 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.0003794/1.48, allocations: 183 kB / 1.34 GB, free: 9.98 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.481, allocations: 0.5003 MB / 1.34 GB, free: 9.48 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.481, allocations: 0 / 1.34 GB, free: 9.48 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/1.481, allocations: 172.4 kB / 1.34 GB, free: 9.312 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/1.483, allocations: 324.3 kB / 1.341 GB, free: 8.996 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/1.485, allocations: 1.268 MB / 1.342 GB, free: 7.68 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/1.486, allocations: 344.4 kB / 1.342 GB, free: 7.312 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005339/1.486, allocations: 180.6 kB / 1.342 GB, free: 7.137 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/1.486, allocations: 48.5 kB / 1.342 GB, free: 7.09 MB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/1.486, allocations: 0 / 1.342 GB, free: 7.09 MB / 1.186 GB Notification: Performance of Templates: time 0.02392/1.51, allocations: 11.69 MB / 1.354 GB, free: 11.71 MB / 1.201 GB " [Timeout remaining time 298] 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 -s ida -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/jenkins1/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.469044671976008]