Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9739, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2623/1.236, allocations: 184.2 MB / 1.454 GB, free: 11.68 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009369/1.246, allocations: 4.899 MB / 1.459 GB, free: 6.766 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/1.247, allocations: 31.81 kB / 1.459 GB, free: 6.734 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/1.248, allocations: 449.4 kB / 1.459 GB, free: 6.293 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/1.252, allocations: 1.47 MB / 1.461 GB, free: 4.816 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/1.254, allocations: 0.7992 MB / 1.461 GB, free: 4.023 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002662/1.257, allocations: 1.851 MB / 1.463 GB, free: 2.168 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007503/1.258, allocations: 460.4 kB / 1.464 GB, free: 1.707 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/1.26, allocations: 0.8989 MB / 1.464 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/1.261, allocations: 0.5841 MB / 1.465 GB, free: 228 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.747e-05/1.261, allocations: 60 kB / 1.465 GB, free: 168 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/1.264, allocations: 1.485 MB / 1.467 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/1.264, allocations: 271 kB / 1.467 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004713/1.265, allocations: 402.1 kB / 1.467 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/1.267, allocations: 1.429 MB / 1.469 GB, free: 12.58 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.267, allocations: 0 / 1.469 GB, free: 12.58 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.392e-06/1.267, allocations: 0 / 1.469 GB, free: 12.58 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.267, allocations: 0 / 1.469 GB, free: 12.58 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.001896/1.269, allocations: 1.128 MB / 1.47 GB, free: 11.4 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.269, allocations: 12.03 kB / 1.47 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.27, allocations: 211.3 kB / 1.47 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/1.271, allocations: 0.6206 MB / 1.471 GB, free: 10.52 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.271, allocations: 40.92 kB / 1.471 GB, free: 10.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/1.271, allocations: 48 kB / 1.471 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/1.272, allocations: 0.4906 MB / 1.471 GB, free: 9.938 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.272, allocations: 3.938 kB / 1.471 GB, free: 9.934 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/1.272, allocations: 20 kB / 1.471 GB, free: 9.914 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/1.272, allocations: 20.98 kB / 1.471 GB, free: 9.895 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/1.273, allocations: 439.7 kB / 1.472 GB, free: 9.461 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.002966/1.276, allocations: 2.002 MB / 1.474 GB, free: 7.277 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006848/1.277, allocations: 339.4 kB / 1.474 GB, free: 6.938 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/1.277, allocations: 197.3 kB / 1.474 GB, free: 6.742 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/1.277, allocations: 198.4 kB / 1.474 GB, free: 6.512 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/1.278, allocations: 30.84 kB / 1.474 GB, free: 6.473 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/1.278, allocations: 4 kB / 1.474 GB, free: 6.469 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.00132/1.279, allocations: 0.5383 MB / 1.475 GB, free: 5.926 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.279, allocations: 63.28 kB / 1.475 GB, free: 5.852 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/1.28, allocations: 0.5069 MB / 1.475 GB, free: 5.332 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/1.28, allocations: 37.7 kB / 1.475 GB, free: 5.289 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/1.28, allocations: 308.5 kB / 1.476 GB, free: 4.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/1.28, allocations: 119 kB / 1.476 GB, free: 4.863 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.28, allocations: 69.98 kB / 1.476 GB, free: 4.789 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.28, allocations: 370.8 kB / 1.476 GB, free: 4.418 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/1.281, allocations: 138.1 kB / 1.476 GB, free: 4.281 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/1.281, allocations: 227.6 kB / 1.477 GB, free: 4.035 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/1.282, allocations: 339.1 kB / 1.477 GB, free: 3.691 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.282, allocations: 0 / 1.477 GB, free: 3.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007626/1.282, allocations: 426.8 kB / 1.477 GB, free: 3.27 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.282, allocations: 8 kB / 1.477 GB, free: 3.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/1.282, allocations: 0 / 1.477 GB, free: 3.262 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.282, allocations: 4 kB / 1.477 GB, free: 3.258 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/1.283, allocations: 75.89 kB / 1.477 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.283, allocations: 8.031 kB / 1.477 GB, free: 3.176 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/1.283, allocations: 35.77 kB / 1.477 GB, free: 3.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/1.283, allocations: 19.98 kB / 1.477 GB, free: 3.121 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000477/1.284, allocations: 304 kB / 1.478 GB, free: 2.82 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003385/1.284, allocations: 210.7 kB / 1.478 GB, free: 2.59 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000602/1.285, allocations: 331.3 kB / 1.478 GB, free: 2.254 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/1.285, allocations: 0 / 1.478 GB, free: 2.254 MB / 1.17 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007493/1.285, allocations: 432.8 kB / 1.479 GB, free: 1.824 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/1.285, allocations: 7.938 kB / 1.479 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/1.285, allocations: 0 / 1.479 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/1.285, allocations: 4 kB / 1.479 GB, free: 1.812 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/1.286, allocations: 71.91 kB / 1.479 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/1.286, allocations: 0 / 1.479 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/1.286, allocations: 35.8 kB / 1.479 GB, free: 1.707 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/1.286, allocations: 20.09 kB / 1.479 GB, free: 1.688 MB / 1.17 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.0001738/1.286, allocations: 200.1 kB / 1.479 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.286, allocations: 63.62 kB / 1.479 GB, free: 1.422 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008256/1.287, allocations: 420.7 kB / 1.479 GB, free: 1.004 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.287, allocations: 4 kB / 1.479 GB, free: 1 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.287, allocations: 3.938 kB / 1.479 GB, free: 0.9961 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006768/1.288, allocations: 440.4 kB / 1.48 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/1.29, allocations: 1.184 MB / 1.481 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.29, allocations: 0 / 1.481 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/1.291, allocations: 83.89 kB / 1.481 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.291, allocations: 4 kB / 1.481 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/1.291, allocations: 8 kB / 1.481 GB, free: 15.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.291, allocations: 4 kB / 1.481 GB, free: 15.18 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.291, allocations: 7.938 kB / 1.481 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/1.292, allocations: 0.6993 MB / 1.482 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/1.292, allocations: 184.7 kB / 1.482 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/1.292, allocations: 8.062 kB / 1.482 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/1.293, allocations: 27.97 kB / 1.482 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/1.293, allocations: 27.91 kB / 1.482 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/1.293, allocations: 12 kB / 1.482 GB, free: 14.16 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004742/1.293, allocations: 366.8 kB / 1.482 GB, free: 13.81 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/1.293, allocations: 4 kB / 1.482 GB, free: 13.8 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000977/1.294, allocations: 327.3 kB / 1.483 GB, free: 13.48 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.0005205/1.295, allocations: 192 kB / 1.483 GB, free: 13.3 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0011/1.296, allocations: 0.4961 MB / 1.483 GB, free: 12.8 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/1.296, allocations: 8.312 kB / 1.483 GB, free: 12.79 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/1.296, allocations: 172 kB / 1.484 GB, free: 12.62 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.298, allocations: 346.8 kB / 1.484 GB, free: 12.3 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/1.3, allocations: 1.286 MB / 1.485 GB, free: 10.96 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/1.301, allocations: 0.9295 MB / 1.486 GB, free: 10.01 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005972/1.301, allocations: 180.8 kB / 1.486 GB, free: 9.832 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/1.301, allocations: 55.42 kB / 1.486 GB, free: 9.777 MB / 1.186 GB Notification: Performance of SimCode: time 6.82e-07/1.301, allocations: 0 / 1.486 GB, free: 9.777 MB / 1.186 GB Notification: Performance of Templates: time 0.02258/1.324, allocations: 11.95 MB / 1.498 GB, free: 14 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.6224594139494]