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.001884/0.001884, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002255/0.002255, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.785 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.776/3.776, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.00215/0.00215, allocations: 70.89 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5217, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2556/0.7773, allocations: 162 MB / 1.522 GB, free: 11.03 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00993/0.7872, allocations: 4.573 MB / 1.526 GB, free: 6.449 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.7884, allocations: 43.62 kB / 1.527 GB, free: 6.406 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.7899, allocations: 421.4 kB / 1.527 GB, free: 5.992 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/0.7945, allocations: 1.455 MB / 1.528 GB, free: 4.531 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.7968, allocations: 0.7952 MB / 1.529 GB, free: 3.742 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.7996, allocations: 1.886 MB / 1.531 GB, free: 1.848 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007811/0.8003, allocations: 473 kB / 1.531 GB, free: 1.371 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.803, allocations: 1.133 MB / 1.533 GB, free: 240 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.8043, allocations: 0.5425 MB / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.8045, allocations: 60 kB / 1.533 GB, free: 15.63 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.807, allocations: 1.145 MB / 1.534 GB, free: 14.48 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.8074, allocations: 275.1 kB / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.8079, allocations: 334.5 kB / 1.535 GB, free: 13.89 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.8103, allocations: 1.398 MB / 1.536 GB, free: 12.48 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.8103, allocations: 0 / 1.536 GB, free: 12.48 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8103, allocations: 0 / 1.536 GB, free: 12.48 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.8104, allocations: 0 / 1.536 GB, free: 12.48 MB / 1.232 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.002045/0.8124, allocations: 1.06 MB / 1.537 GB, free: 11.39 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.8125, allocations: 8.031 kB / 1.537 GB, free: 11.38 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.8138, allocations: 219.3 kB / 1.537 GB, free: 11.17 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.8149, allocations: 0.5523 MB / 1.538 GB, free: 10.59 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.8149, allocations: 37 kB / 1.538 GB, free: 10.55 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.815, allocations: 48 kB / 1.538 GB, free: 10.51 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.8161, allocations: 0.6411 MB / 1.539 GB, free: 9.828 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.8161, allocations: 0 / 1.539 GB, free: 9.828 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.8162, allocations: 16 kB / 1.539 GB, free: 9.812 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.8162, allocations: 17 kB / 1.539 GB, free: 9.797 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008445/0.817, allocations: 439.7 kB / 1.539 GB, free: 9.367 MB / 1.232 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.002662/0.8197, allocations: 1.231 MB / 1.54 GB, free: 8.098 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.8205, allocations: 339.5 kB / 1.541 GB, free: 7.758 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.8208, allocations: 201.1 kB / 1.541 GB, free: 7.559 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.821, allocations: 36.25 kB / 1.541 GB, free: 7.523 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.8211, allocations: 42.78 kB / 1.541 GB, free: 7.473 MB / 1.232 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.8211, allocations: 0 / 1.541 GB, free: 7.473 MB / 1.232 GB Notification: Performance of matching and sorting (n=33): time 0.0013/0.8224, allocations: 0.5461 MB / 1.541 GB, free: 6.922 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.8224, allocations: 59.34 kB / 1.542 GB, free: 6.852 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/0.823, allocations: 474.9 kB / 1.542 GB, free: 6.375 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.8231, allocations: 33.7 kB / 1.542 GB, free: 6.336 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.8234, allocations: 316.4 kB / 1.542 GB, free: 6.023 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.8235, allocations: 126.9 kB / 1.542 GB, free: 5.898 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.8236, allocations: 73.97 kB / 1.542 GB, free: 5.82 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002498/0.8238, allocations: 358.8 kB / 1.543 GB, free: 5.461 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.8241, allocations: 142.1 kB / 1.543 GB, free: 5.32 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.8246, allocations: 377.8 kB / 1.543 GB, free: 4.891 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.8252, allocations: 343.5 kB / 1.544 GB, free: 4.543 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8252, allocations: 0 / 1.544 GB, free: 4.543 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007683/0.826, allocations: 433.1 kB / 1.544 GB, free: 4.113 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.826, allocations: 8 kB / 1.544 GB, free: 4.105 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.826, allocations: 0 / 1.544 GB, free: 4.105 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.826, allocations: 4 kB / 1.544 GB, free: 4.102 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.8263, allocations: 63.91 kB / 1.544 GB, free: 4.039 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8264, allocations: 4 kB / 1.544 GB, free: 4.035 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.8268, allocations: 47.84 kB / 1.544 GB, free: 3.988 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.8268, allocations: 8 kB / 1.544 GB, free: 3.98 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004595/0.8273, allocations: 304 kB / 1.544 GB, free: 3.68 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004323/0.8277, allocations: 365.6 kB / 1.545 GB, free: 3.262 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005851/0.8283, allocations: 335.3 kB / 1.545 GB, free: 2.922 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.8283, allocations: 4 kB / 1.545 GB, free: 2.918 MB / 1.232 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007517/0.829, allocations: 421 kB / 1.546 GB, free: 2.5 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.829, allocations: 4.938 kB / 1.546 GB, free: 2.496 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.829, allocations: 0 / 1.546 GB, free: 2.496 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.8291, allocations: 4 kB / 1.546 GB, free: 2.492 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.8294, allocations: 71.89 kB / 1.546 GB, free: 2.422 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.8294, allocations: 4 kB / 1.546 GB, free: 2.418 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.8298, allocations: 35.92 kB / 1.546 GB, free: 2.383 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.8298, allocations: 15.94 kB / 1.546 GB, free: 2.367 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.0001534/0.8299, allocations: 200.8 kB / 1.546 GB, free: 2.164 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.83, allocations: 55.67 kB / 1.546 GB, free: 2.109 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008102/0.8309, allocations: 418.6 kB / 1.546 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.8309, allocations: 0 / 1.546 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.8309, allocations: 0 / 1.546 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006838/0.8316, allocations: 453.5 kB / 1.547 GB, free: 1.223 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.8333, allocations: 0.9985 MB / 1.548 GB, free: 172 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8333, allocations: 4 kB / 1.548 GB, free: 168 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.8337, allocations: 92.02 kB / 1.548 GB, free: 76 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8337, allocations: 4 kB / 1.548 GB, free: 72 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.8338, allocations: 11.98 kB / 1.548 GB, free: 60 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.8338, allocations: 3.984 kB / 1.548 GB, free: 56 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8338, allocations: 4 kB / 1.548 GB, free: 52 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8349, allocations: 0.6916 MB / 1.549 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.8352, allocations: 115.5 kB / 1.549 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.8352, allocations: 12 kB / 1.549 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004225/0.8357, allocations: 25.52 kB / 1.549 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.8357, allocations: 27.91 kB / 1.549 GB, free: 15.15 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.8358, allocations: 20.05 kB / 1.549 GB, free: 15.13 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004034/0.8362, allocations: 330.9 kB / 1.549 GB, free: 14.81 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.8362, allocations: 0 / 1.549 GB, free: 14.81 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008807/0.837, allocations: 335.2 kB / 1.549 GB, free: 14.48 MB / 1.248 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.0003822/0.8374, allocations: 175 kB / 1.55 GB, free: 14.3 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009943/0.8384, allocations: 0.4917 MB / 1.55 GB, free: 13.81 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8384, allocations: 0 / 1.55 GB, free: 13.81 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.8387, allocations: 175.7 kB / 1.55 GB, free: 13.64 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.8402, allocations: 334 kB / 1.55 GB, free: 13.32 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.8423, allocations: 1.264 MB / 1.552 GB, free: 12 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.8427, allocations: 340.4 kB / 1.552 GB, free: 11.64 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005162/0.8432, allocations: 180.6 kB / 1.552 GB, free: 11.47 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.8433, allocations: 47.44 kB / 1.552 GB, free: 11.42 MB / 1.248 GB Notification: Performance of SimCode: time 4.31e-07/0.8433, allocations: 3.938 kB / 1.552 GB, free: 11.42 MB / 1.248 GB Notification: Performance of Templates: time 0.02318/0.8665, allocations: 12.68 MB / 1.565 GB, free: 15.02 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/jenkins/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: 11.569092819467187]