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.001703/0.001703, allocations: 100.4 kB / 19.7 MB, free: 2.141 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.00204/0.00204, allocations: 211.8 kB / 22.99 MB, free: 4.961 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.276/3.276, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 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.002122/0.002122, allocations: 66.12 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3661, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2206/0.5867, allocations: 162 MB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.5961, allocations: 4.58 MB / 1.489 GB, free: 10.69 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.5973, allocations: 39.62 kB / 1.489 GB, free: 10.65 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.5989, allocations: 421.4 kB / 1.489 GB, free: 10.24 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.6035, allocations: 1.459 MB / 1.491 GB, free: 8.773 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.606, allocations: 0.8041 MB / 1.492 GB, free: 7.977 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.6093, allocations: 1.875 MB / 1.493 GB, free: 6.09 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6103, allocations: 469 kB / 1.494 GB, free: 5.617 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.6132, allocations: 1.137 MB / 1.495 GB, free: 4.477 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.6149, allocations: 0.5466 MB / 1.496 GB, free: 3.93 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002122/0.6151, allocations: 59.94 kB / 1.496 GB, free: 3.871 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.6178, allocations: 1.142 MB / 1.497 GB, free: 2.727 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.6183, allocations: 271.1 kB / 1.497 GB, free: 2.461 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.6189, allocations: 334.5 kB / 1.497 GB, free: 2.133 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.6216, allocations: 1.401 MB / 1.499 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6216, allocations: 0 / 1.499 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6216, allocations: 0 / 1.499 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.6216, allocations: 0 / 1.499 GB, free: 0.7266 MB / 1.186 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.001944/0.6235, allocations: 1.06 MB / 1.5 GB, free: 15.63 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6236, allocations: 12.03 kB / 1.5 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.6249, allocations: 215.2 kB / 1.5 GB, free: 15.41 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.6261, allocations: 0.5562 MB / 1.5 GB, free: 14.83 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.6261, allocations: 37 kB / 1.5 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.6262, allocations: 48 kB / 1.501 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.6273, allocations: 0.6373 MB / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.6273, allocations: 0 / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.6273, allocations: 24 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.6274, allocations: 13 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.6282, allocations: 439.7 kB / 1.502 GB, free: 13.6 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.00261/0.6308, allocations: 1.238 MB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.6315, allocations: 333.5 kB / 1.503 GB, free: 11.99 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.6319, allocations: 199.1 kB / 1.503 GB, free: 11.79 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.6321, allocations: 40.25 kB / 1.503 GB, free: 11.75 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.6322, allocations: 38.84 kB / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.6322, allocations: 4 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001357/0.6335, allocations: 0.5344 MB / 1.504 GB, free: 11.16 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6336, allocations: 59.34 kB / 1.504 GB, free: 11.09 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.6342, allocations: 478.9 kB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.6342, allocations: 33.7 kB / 1.504 GB, free: 10.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.6345, allocations: 308.5 kB / 1.505 GB, free: 10.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.6346, allocations: 134.8 kB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.6348, allocations: 70.02 kB / 1.505 GB, free: 10.06 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.635, allocations: 362.8 kB / 1.505 GB, free: 9.699 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.6353, allocations: 146 kB / 1.505 GB, free: 9.555 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.6357, allocations: 373.9 kB / 1.506 GB, free: 9.129 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.6364, allocations: 343.1 kB / 1.506 GB, free: 8.781 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6364, allocations: 0 / 1.506 GB, free: 8.781 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008566/0.6372, allocations: 432.8 kB / 1.507 GB, free: 8.352 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.6373, allocations: 4 kB / 1.507 GB, free: 8.348 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.6373, allocations: 0 / 1.507 GB, free: 8.348 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.6373, allocations: 4 kB / 1.507 GB, free: 8.344 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.6377, allocations: 67.91 kB / 1.507 GB, free: 8.277 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.6377, allocations: 4.094 kB / 1.507 GB, free: 8.273 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.6383, allocations: 39.8 kB / 1.507 GB, free: 8.234 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.6383, allocations: 12 kB / 1.507 GB, free: 8.223 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005913/0.6389, allocations: 308 kB / 1.507 GB, free: 7.918 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004902/0.6394, allocations: 369.5 kB / 1.507 GB, free: 7.496 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006559/0.64, allocations: 339.2 kB / 1.508 GB, free: 7.152 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/0.64, allocations: 4 kB / 1.508 GB, free: 7.148 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008363/0.6409, allocations: 417 kB / 1.508 GB, free: 6.734 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6409, allocations: 4 kB / 1.508 GB, free: 6.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6409, allocations: 4 kB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.6409, allocations: 7.922 kB / 1.508 GB, free: 6.719 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.6413, allocations: 76 kB / 1.508 GB, free: 6.645 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6413, allocations: 3.984 kB / 1.508 GB, free: 6.641 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.6418, allocations: 31.88 kB / 1.508 GB, free: 6.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.6418, allocations: 15.94 kB / 1.508 GB, free: 6.594 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.0002523/0.6421, allocations: 196.2 kB / 1.508 GB, free: 6.395 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.6422, allocations: 63.62 kB / 1.508 GB, free: 6.332 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009172/0.6431, allocations: 414.6 kB / 1.509 GB, free: 5.922 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6431, allocations: 8 kB / 1.509 GB, free: 5.914 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6431, allocations: 0 / 1.509 GB, free: 5.914 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007234/0.6438, allocations: 437.6 kB / 1.509 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.6459, allocations: 1.007 MB / 1.51 GB, free: 4.395 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6459, allocations: 0 / 1.51 GB, free: 4.395 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.6464, allocations: 87.83 kB / 1.51 GB, free: 4.309 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.6464, allocations: 4 kB / 1.51 GB, free: 4.305 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.6464, allocations: 11.98 kB / 1.51 GB, free: 4.293 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.6464, allocations: 8.125 kB / 1.51 GB, free: 4.285 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6464, allocations: 3.938 kB / 1.51 GB, free: 4.281 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.6477, allocations: 0.6998 MB / 1.511 GB, free: 3.547 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.6479, allocations: 111.5 kB / 1.511 GB, free: 3.438 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.648, allocations: 8 kB / 1.511 GB, free: 3.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.6485, allocations: 23.97 kB / 1.511 GB, free: 3.406 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.6486, allocations: 23.91 kB / 1.511 GB, free: 3.383 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.6486, allocations: 19.98 kB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004392/0.649, allocations: 326.9 kB / 1.511 GB, free: 3.047 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.649, allocations: 0 / 1.511 GB, free: 3.047 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009314/0.65, allocations: 335.3 kB / 1.512 GB, free: 2.719 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.0003438/0.6503, allocations: 183 kB / 1.512 GB, free: 2.531 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.6514, allocations: 0.4924 MB / 1.512 GB, free: 2.039 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6514, allocations: 0 / 1.512 GB, free: 2.039 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.6517, allocations: 176.4 kB / 1.513 GB, free: 1.867 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6533, allocations: 336.6 kB / 1.513 GB, free: 1.543 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.6555, allocations: 1.309 MB / 1.514 GB, free: 184 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.6559, allocations: 336.5 kB / 1.515 GB, free: 15.82 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.6561, allocations: 47.44 kB / 1.515 GB, free: 15.78 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/0.6561, allocations: 0 / 1.515 GB, free: 15.78 MB / 1.217 GB Notification: Performance of Templates: time 0.01812/0.6742, allocations: 9.73 MB / 1.524 GB, free: 6.125 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: 13.959592774044722]