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.001587/0.001587, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001859/0.001859, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.038/3.038, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.002114/0.002114, allocations: 75.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2622/1.379, allocations: 186.9 MB / 1.504 GB, free: 13.95 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009219/1.389, allocations: 4.896 MB / 1.509 GB, free: 9.488 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/1.39, allocations: 39.62 kB / 1.509 GB, free: 9.449 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/1.392, allocations: 449.3 kB / 1.51 GB, free: 9.008 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/1.396, allocations: 1.466 MB / 1.511 GB, free: 7.535 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/1.398, allocations: 0.7919 MB / 1.512 GB, free: 6.75 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002928/1.401, allocations: 1.844 MB / 1.514 GB, free: 4.898 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009046/1.402, allocations: 0.5028 MB / 1.514 GB, free: 4.387 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/1.405, allocations: 1.121 MB / 1.515 GB, free: 3.262 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/1.407, allocations: 0.5725 MB / 1.516 GB, free: 2.691 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/1.407, allocations: 60 kB / 1.516 GB, free: 2.633 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/1.41, allocations: 1.465 MB / 1.517 GB, free: 1.164 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/1.41, allocations: 275.1 kB / 1.518 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005687/1.411, allocations: 406 kB / 1.518 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002725/1.413, allocations: 1.433 MB / 1.519 GB, free: 15.06 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.413, allocations: 0 / 1.519 GB, free: 15.06 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.283e-06/1.413, allocations: 0 / 1.519 GB, free: 15.06 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.163e-05/1.413, allocations: 0 / 1.519 GB, free: 15.06 MB / 1.201 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.001914/1.415, allocations: 1.124 MB / 1.52 GB, free: 13.88 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.415, allocations: 15.98 kB / 1.52 GB, free: 13.87 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.417, allocations: 215.2 kB / 1.521 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/1.418, allocations: 0.6206 MB / 1.521 GB, free: 12.99 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/1.418, allocations: 37 kB / 1.521 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-05/1.418, allocations: 51.94 kB / 1.521 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009509/1.419, allocations: 498.3 kB / 1.522 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.419, allocations: 8 kB / 1.522 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/1.419, allocations: 16 kB / 1.522 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/1.419, allocations: 17 kB / 1.522 GB, free: 12.38 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008446/1.42, allocations: 439.6 kB / 1.522 GB, free: 11.95 MB / 1.201 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.003139/1.423, allocations: 2.097 MB / 1.524 GB, free: 9.652 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/1.424, allocations: 323.5 kB / 1.525 GB, free: 9.328 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/1.424, allocations: 204 kB / 1.525 GB, free: 9.129 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/1.424, allocations: 190.5 kB / 1.525 GB, free: 8.906 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.424, allocations: 46.78 kB / 1.525 GB, free: 8.852 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 2.524e-06/1.424, allocations: 0 / 1.525 GB, free: 8.852 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.00145/1.426, allocations: 0.5422 MB / 1.526 GB, free: 8.305 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.426, allocations: 63.28 kB / 1.526 GB, free: 8.23 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/1.427, allocations: 0.5108 MB / 1.526 GB, free: 7.707 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/1.427, allocations: 33.7 kB / 1.526 GB, free: 7.668 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/1.427, allocations: 308.6 kB / 1.526 GB, free: 7.363 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/1.427, allocations: 122.9 kB / 1.527 GB, free: 7.242 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/1.427, allocations: 74.02 kB / 1.527 GB, free: 7.164 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.427, allocations: 358.8 kB / 1.527 GB, free: 6.805 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/1.428, allocations: 146.1 kB / 1.527 GB, free: 6.66 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/1.428, allocations: 223.6 kB / 1.527 GB, free: 6.418 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/1.429, allocations: 336.5 kB / 1.528 GB, free: 6.078 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.429, allocations: 0 / 1.528 GB, free: 6.078 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008635/1.43, allocations: 440.9 kB / 1.528 GB, free: 5.641 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.43, allocations: 4 kB / 1.528 GB, free: 5.637 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.43, allocations: 0 / 1.528 GB, free: 5.637 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.43, allocations: 4 kB / 1.528 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.43, allocations: 67.91 kB / 1.528 GB, free: 5.566 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.43, allocations: 3.938 kB / 1.528 GB, free: 5.562 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/1.431, allocations: 55.78 kB / 1.528 GB, free: 5.508 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/1.431, allocations: 8 kB / 1.528 GB, free: 5.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005312/1.431, allocations: 308 kB / 1.529 GB, free: 5.195 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003612/1.432, allocations: 218.6 kB / 1.529 GB, free: 4.957 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006254/1.432, allocations: 335.3 kB / 1.529 GB, free: 4.617 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/1.432, allocations: 0 / 1.529 GB, free: 4.617 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008059/1.433, allocations: 425 kB / 1.529 GB, free: 4.195 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.433, allocations: 12 kB / 1.529 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-06/1.433, allocations: 0 / 1.529 GB, free: 4.184 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/1.433, allocations: 4 kB / 1.529 GB, free: 4.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/1.433, allocations: 71.89 kB / 1.53 GB, free: 4.109 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.433, allocations: 4 kB / 1.53 GB, free: 4.105 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/1.434, allocations: 35.77 kB / 1.53 GB, free: 4.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/1.434, allocations: 12 kB / 1.53 GB, free: 4.059 MB / 1.201 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.0001973/1.434, allocations: 204.2 kB / 1.53 GB, free: 3.852 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.434, allocations: 63.61 kB / 1.53 GB, free: 3.789 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00093/1.435, allocations: 420.1 kB / 1.53 GB, free: 3.371 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.435, allocations: 4 kB / 1.53 GB, free: 3.367 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.435, allocations: 3.938 kB / 1.53 GB, free: 3.363 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000703/1.436, allocations: 432.2 kB / 1.531 GB, free: 2.91 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/1.438, allocations: 1.175 MB / 1.532 GB, free: 1.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.438, allocations: 192 / 1.532 GB, free: 1.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/1.438, allocations: 87.89 kB / 1.532 GB, free: 1.574 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/1.438, allocations: 4 kB / 1.532 GB, free: 1.57 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/1.438, allocations: 11.98 kB / 1.532 GB, free: 1.559 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/1.438, allocations: 4.125 kB / 1.532 GB, free: 1.555 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.438, allocations: 4 kB / 1.532 GB, free: 1.551 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.439, allocations: 0.7078 MB / 1.533 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/1.44, allocations: 180.6 kB / 1.533 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/1.44, allocations: 8 kB / 1.533 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/1.44, allocations: 27.97 kB / 1.533 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/1.44, allocations: 23.91 kB / 1.533 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/1.44, allocations: 19.98 kB / 1.533 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004448/1.441, allocations: 366.8 kB / 1.533 GB, free: 184 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.441, allocations: 3.938 kB / 1.533 GB, free: 180 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009466/1.442, allocations: 327.4 kB / 1.534 GB, free: 15.85 MB / 1.217 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.0003428/1.442, allocations: 171 kB / 1.534 GB, free: 15.68 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.443, allocations: 0.5081 MB / 1.534 GB, free: 15.17 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.443, allocations: 0 / 1.534 GB, free: 15.17 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/1.443, allocations: 172.7 kB / 1.534 GB, free: 15 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.445, allocations: 365.8 kB / 1.535 GB, free: 14.65 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/1.447, allocations: 1.316 MB / 1.536 GB, free: 13.28 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/1.448, allocations: 0.9296 MB / 1.537 GB, free: 12.32 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/1.448, allocations: 51.42 kB / 1.537 GB, free: 12.27 MB / 1.217 GB Notification: Performance of SimCode: time 6.31e-07/1.448, allocations: 0 / 1.537 GB, free: 12.27 MB / 1.217 GB Notification: Performance of Templates: time 0.01672/1.465, allocations: 9.799 MB / 1.547 GB, free: 2.555 MB / 1.217 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: 14.65010643399728]