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.001928/0.001928, allocations: 102.1 kB / 19.7 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.002099/0.002099, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.471/3.471, allocations: 0.49 GB / 0.7958 GB, free: 33.51 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.003027/0.003027, allocations: 73.77 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.5014, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.3403/0.8417, allocations: 187.2 MB / 1.51 GB, free: 5.672 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.8552, allocations: 4.914 MB / 1.515 GB, free: 0.75 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.8569, allocations: 47.62 kB / 1.515 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.8589, allocations: 453.3 kB / 1.515 GB, free: 264 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006209/0.8651, allocations: 1.486 MB / 1.517 GB, free: 14.77 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.8688, allocations: 0.8182 MB / 1.517 GB, free: 13.95 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004679/0.8735, allocations: 1.893 MB / 1.519 GB, free: 12.05 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.8748, allocations: 476.9 kB / 1.52 GB, free: 11.57 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/0.8788, allocations: 1.14 MB / 1.521 GB, free: 10.43 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.8809, allocations: 0.5705 MB / 1.521 GB, free: 9.855 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.8811, allocations: 60 kB / 1.521 GB, free: 9.797 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.886, allocations: 1.477 MB / 1.523 GB, free: 8.316 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005787/0.8866, allocations: 275.1 kB / 1.523 GB, free: 8.047 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008499/0.8875, allocations: 410 kB / 1.524 GB, free: 7.645 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.8913, allocations: 1.429 MB / 1.525 GB, free: 6.211 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.8913, allocations: 0 / 1.525 GB, free: 6.211 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8913, allocations: 0 / 1.525 GB, free: 6.211 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.8913, allocations: 4 kB / 1.525 GB, free: 6.207 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.002722/0.894, allocations: 1.052 MB / 1.526 GB, free: 5.121 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.8941, allocations: 11.97 kB / 1.526 GB, free: 5.109 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.8963, allocations: 223.2 kB / 1.526 GB, free: 4.891 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.898, allocations: 0.5523 MB / 1.527 GB, free: 4.312 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.8981, allocations: 37 kB / 1.527 GB, free: 4.273 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8982, allocations: 48 kB / 1.527 GB, free: 4.227 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.8997, allocations: 498.3 kB / 1.527 GB, free: 3.734 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.8997, allocations: 0 / 1.527 GB, free: 3.734 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.8998, allocations: 16 kB / 1.527 GB, free: 3.719 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/0.8998, allocations: 17 kB / 1.527 GB, free: 3.703 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.9012, allocations: 443.7 kB / 1.528 GB, free: 3.27 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.00471/0.9059, allocations: 2.053 MB / 1.53 GB, free: 1.023 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.907, allocations: 331.5 kB / 1.53 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005446/0.9075, allocations: 198.3 kB / 1.53 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.9078, allocations: 44.25 kB / 1.53 GB, free: 464 kB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.9079, allocations: 38.84 kB / 1.53 GB, free: 416 kB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/0.9079, allocations: 0 / 1.53 GB, free: 416 kB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.0021/0.91, allocations: 0.5383 MB / 1.531 GB, free: 15.86 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.9101, allocations: 67.28 kB / 1.531 GB, free: 15.79 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9111, allocations: 0.5069 MB / 1.531 GB, free: 15.27 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.9111, allocations: 37.7 kB / 1.531 GB, free: 15.22 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.9115, allocations: 308.6 kB / 1.532 GB, free: 14.92 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.9117, allocations: 122.9 kB / 1.532 GB, free: 14.8 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.9119, allocations: 74.02 kB / 1.532 GB, free: 14.72 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0002756/0.9122, allocations: 366.7 kB / 1.532 GB, free: 14.35 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.9126, allocations: 142.1 kB / 1.532 GB, free: 14.21 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.9132, allocations: 211.7 kB / 1.533 GB, free: 13.98 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.9142, allocations: 339.1 kB / 1.533 GB, free: 13.64 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.9142, allocations: 4 kB / 1.533 GB, free: 13.63 MB / 1.233 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001312/0.9155, allocations: 432.8 kB / 1.533 GB, free: 13.2 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.9155, allocations: 6.031 kB / 1.533 GB, free: 13.2 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.9155, allocations: 8.094 kB / 1.533 GB, free: 13.19 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.9156, allocations: 0 / 1.533 GB, free: 13.19 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.9161, allocations: 71.91 kB / 1.533 GB, free: 13.12 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.9161, allocations: 7.938 kB / 1.533 GB, free: 13.11 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.9169, allocations: 47.67 kB / 1.533 GB, free: 13.07 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.917, allocations: 12 kB / 1.533 GB, free: 13.05 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007868/0.9178, allocations: 304 kB / 1.534 GB, free: 12.75 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005802/0.9183, allocations: 223.3 kB / 1.534 GB, free: 12.51 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009446/0.9193, allocations: 331.3 kB / 1.534 GB, free: 12.18 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.9193, allocations: 4 kB / 1.534 GB, free: 12.17 MB / 1.233 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001253/0.9205, allocations: 421 kB / 1.535 GB, free: 11.75 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.9206, allocations: 8 kB / 1.535 GB, free: 11.75 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9206, allocations: 0 / 1.535 GB, free: 11.75 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.9206, allocations: 4 kB / 1.535 GB, free: 11.74 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.9211, allocations: 75.94 kB / 1.535 GB, free: 11.67 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.9212, allocations: 4 kB / 1.535 GB, free: 11.66 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/0.9219, allocations: 43.75 kB / 1.535 GB, free: 11.62 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.9219, allocations: 8.125 kB / 1.535 GB, free: 11.61 MB / 1.233 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.0002754/0.9222, allocations: 204.2 kB / 1.535 GB, free: 11.41 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.9224, allocations: 63.62 kB / 1.535 GB, free: 11.34 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.9237, allocations: 423 kB / 1.536 GB, free: 10.93 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.9237, allocations: 4 kB / 1.536 GB, free: 10.92 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.9237, allocations: 3.938 kB / 1.536 GB, free: 10.92 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/0.9248, allocations: 433.6 kB / 1.536 GB, free: 10.46 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.928, allocations: 1.151 MB / 1.537 GB, free: 9.246 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.928, allocations: 0 / 1.537 GB, free: 9.246 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.9287, allocations: 83.89 kB / 1.537 GB, free: 9.164 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.9287, allocations: 0 / 1.537 GB, free: 9.164 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.9287, allocations: 12 kB / 1.537 GB, free: 9.152 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.9288, allocations: 4.188 kB / 1.537 GB, free: 9.148 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.9288, allocations: 7.938 kB / 1.537 GB, free: 9.141 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.9306, allocations: 0.7113 MB / 1.538 GB, free: 8.395 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.931, allocations: 99.56 kB / 1.538 GB, free: 8.297 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.9311, allocations: 8 kB / 1.538 GB, free: 8.289 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.9319, allocations: 23.97 kB / 1.538 GB, free: 8.266 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.932, allocations: 31.89 kB / 1.538 GB, free: 8.234 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.932, allocations: 16 kB / 1.538 GB, free: 8.219 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0007372/0.9328, allocations: 370.8 kB / 1.538 GB, free: 7.859 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9328, allocations: 3.938 kB / 1.538 GB, free: 7.855 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001451/0.9342, allocations: 327.4 kB / 1.539 GB, free: 7.535 MB / 1.233 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.0004397/0.9347, allocations: 171.1 kB / 1.539 GB, free: 7.359 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.9363, allocations: 0.4889 MB / 1.539 GB, free: 6.871 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9363, allocations: 4 kB / 1.539 GB, free: 6.867 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.9368, allocations: 175.7 kB / 1.54 GB, free: 6.695 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.9394, allocations: 345.9 kB / 1.54 GB, free: 6.359 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.9429, allocations: 1.332 MB / 1.541 GB, free: 4.973 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008784/0.9438, allocations: 0.9256 MB / 1.542 GB, free: 4.02 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.944, allocations: 55.38 kB / 1.542 GB, free: 3.965 MB / 1.233 GB Notification: Performance of SimCode: time 9.12e-07/0.944, allocations: 0 / 1.542 GB, free: 3.965 MB / 1.233 GB Notification: Performance of Templates: time 0.02454/0.9686, allocations: 9.806 MB / 1.552 GB, free: 10.25 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/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: 15.166935732995626]