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.001729/0.001729, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002128/0.002128, allocations: 211.1 kB / 22.99 MB, free: 4.957 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: 7.816 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.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.63 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.002079/0.002079, allocations: 64.22 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.372, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2136/0.5855, allocations: 162 MB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009769/0.5953, allocations: 4.575 MB / 1.49 GB, free: 9.82 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.5969, allocations: 39.62 kB / 1.49 GB, free: 9.781 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.5983, allocations: 425.4 kB / 1.49 GB, free: 9.363 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.6025, allocations: 1.455 MB / 1.492 GB, free: 7.902 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.6051, allocations: 0.8114 MB / 1.492 GB, free: 7.098 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002676/0.6078, allocations: 1.894 MB / 1.494 GB, free: 5.191 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.6086, allocations: 476.8 kB / 1.495 GB, free: 4.715 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.6114, allocations: 1.133 MB / 1.496 GB, free: 3.578 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.6129, allocations: 0.5757 MB / 1.496 GB, free: 3.004 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.613, allocations: 56 kB / 1.496 GB, free: 2.949 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.6156, allocations: 1.165 MB / 1.498 GB, free: 1.781 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.616, allocations: 275.1 kB / 1.498 GB, free: 1.512 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.6164, allocations: 330.5 kB / 1.498 GB, free: 1.188 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.6187, allocations: 1.405 MB / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6188, allocations: 0 / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6188, allocations: 0 / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.6188, allocations: 4 kB / 1.499 GB, free: 15.77 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.002007/0.6208, allocations: 1.048 MB / 1.501 GB, free: 14.69 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6208, allocations: 12.03 kB / 1.501 GB, free: 14.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.6222, allocations: 219.2 kB / 1.501 GB, free: 14.46 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.6234, allocations: 0.5523 MB / 1.501 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.6234, allocations: 40.94 kB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-05/0.6235, allocations: 52 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.6246, allocations: 0.6373 MB / 1.502 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.6246, allocations: 0 / 1.502 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.6246, allocations: 20 kB / 1.502 GB, free: 13.09 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.6247, allocations: 16.94 kB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.6255, allocations: 439.7 kB / 1.502 GB, free: 12.65 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.002616/0.6281, allocations: 1.231 MB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.6288, allocations: 335.4 kB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.6292, allocations: 193.9 kB / 1.504 GB, free: 10.85 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.6294, allocations: 48.19 kB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.6295, allocations: 42.84 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.6295, allocations: 0 / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001316/0.6308, allocations: 0.5344 MB / 1.505 GB, free: 10.21 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.6308, allocations: 63.34 kB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.6314, allocations: 482.8 kB / 1.505 GB, free: 9.656 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.6315, allocations: 33.7 kB / 1.505 GB, free: 9.617 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.6317, allocations: 308.5 kB / 1.506 GB, free: 9.312 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.6319, allocations: 126.9 kB / 1.506 GB, free: 9.188 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.632, allocations: 70.02 kB / 1.506 GB, free: 9.113 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.6322, allocations: 362.8 kB / 1.506 GB, free: 8.75 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.6325, allocations: 142.1 kB / 1.506 GB, free: 8.609 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.633, allocations: 373.8 kB / 1.507 GB, free: 8.184 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.6336, allocations: 343.1 kB / 1.507 GB, free: 7.836 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6336, allocations: 0 / 1.507 GB, free: 7.836 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008394/0.6345, allocations: 428.8 kB / 1.507 GB, free: 7.41 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.6345, allocations: 4 kB / 1.507 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.6345, allocations: 4.094 kB / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.6345, allocations: 7.984 kB / 1.507 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.6349, allocations: 67.91 kB / 1.507 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.6349, allocations: 0 / 1.507 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.6354, allocations: 35.81 kB / 1.507 GB, free: 7.293 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.6354, allocations: 15.98 kB / 1.507 GB, free: 7.277 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004849/0.6359, allocations: 304 kB / 1.508 GB, free: 6.977 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004388/0.6363, allocations: 373.5 kB / 1.508 GB, free: 6.551 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005872/0.6369, allocations: 331.3 kB / 1.508 GB, free: 6.215 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.576e-06/0.6369, allocations: 4 kB / 1.508 GB, free: 6.211 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007671/0.6377, allocations: 421 kB / 1.509 GB, free: 5.793 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.6377, allocations: 8.031 kB / 1.509 GB, free: 5.785 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6377, allocations: 4 kB / 1.509 GB, free: 5.781 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-06/0.6377, allocations: 0 / 1.509 GB, free: 5.781 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.638, allocations: 75.84 kB / 1.509 GB, free: 5.707 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.638, allocations: 0 / 1.509 GB, free: 5.707 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.6385, allocations: 35.86 kB / 1.509 GB, free: 5.672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.6385, allocations: 15.94 kB / 1.509 GB, free: 5.656 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.0001676/0.6387, allocations: 196.2 kB / 1.509 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.6388, allocations: 67.62 kB / 1.509 GB, free: 5.391 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/0.6396, allocations: 422.6 kB / 1.51 GB, free: 4.973 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.6396, allocations: 4 kB / 1.51 GB, free: 4.969 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6397, allocations: 0 / 1.51 GB, free: 4.969 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006782/0.6403, allocations: 441.6 kB / 1.51 GB, free: 4.508 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.6422, allocations: 1.007 MB / 1.511 GB, free: 3.445 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6422, allocations: 0 / 1.511 GB, free: 3.445 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.6426, allocations: 87.83 kB / 1.511 GB, free: 3.359 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.6426, allocations: 4 kB / 1.511 GB, free: 3.355 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.6427, allocations: 8 kB / 1.511 GB, free: 3.348 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.6427, allocations: 4.188 kB / 1.511 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.6427, allocations: 8.062 kB / 1.511 GB, free: 3.336 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.6439, allocations: 0.7001 MB / 1.512 GB, free: 2.602 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.6442, allocations: 107.5 kB / 1.512 GB, free: 2.496 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/0.6443, allocations: 11.98 kB / 1.512 GB, free: 2.484 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.6447, allocations: 19.98 kB / 1.512 GB, free: 2.465 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.6448, allocations: 31.89 kB / 1.512 GB, free: 2.434 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.6448, allocations: 19.98 kB / 1.512 GB, free: 2.414 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000406/0.6453, allocations: 326.9 kB / 1.512 GB, free: 2.098 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6453, allocations: 0 / 1.512 GB, free: 2.098 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009523/0.6462, allocations: 331.3 kB / 1.513 GB, free: 1.773 MB / 1.201 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.0003413/0.6465, allocations: 175.1 kB / 1.513 GB, free: 1.594 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.6476, allocations: 0.4963 MB / 1.513 GB, free: 1.098 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6476, allocations: 384 / 1.513 GB, free: 1.098 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.6479, allocations: 183.9 kB / 1.513 GB, free: 0.918 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.6495, allocations: 337.4 kB / 1.514 GB, free: 0.5977 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.6516, allocations: 1.264 MB / 1.515 GB, free: 15.28 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.652, allocations: 332.5 kB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005436/0.6526, allocations: 180.6 kB / 1.516 GB, free: 14.75 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.6527, allocations: 51.42 kB / 1.516 GB, free: 14.7 MB / 1.217 GB Notification: Performance of SimCode: time 8.02e-07/0.6527, allocations: 0 / 1.516 GB, free: 14.7 MB / 1.217 GB Notification: Performance of Templates: time 0.02309/0.6758, allocations: 12.78 MB / 1.528 GB, free: 2.215 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 -s gbode -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: 9.869446476994199]