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.001723/0.001723, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002177/0.002177, allocations: 210.9 kB / 23 MB, free: 4.934 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.543/3.543, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002083/0.002083, allocations: 72.42 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4432, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2469/0.6901, allocations: 162 MB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.7005, allocations: 4.573 MB / 1.49 GB, free: 9.816 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.702, allocations: 43.62 kB / 1.49 GB, free: 9.773 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.7037, allocations: 421.3 kB / 1.49 GB, free: 9.359 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.7094, allocations: 1.474 MB / 1.492 GB, free: 7.883 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.7123, allocations: 0.7973 MB / 1.492 GB, free: 7.09 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.7158, allocations: 1.894 MB / 1.494 GB, free: 5.184 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.7168, allocations: 472.9 kB / 1.495 GB, free: 4.707 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.7205, allocations: 1.137 MB / 1.496 GB, free: 3.566 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.7222, allocations: 0.5724 MB / 1.496 GB, free: 2.996 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.7223, allocations: 56 kB / 1.496 GB, free: 2.941 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.7255, allocations: 1.169 MB / 1.498 GB, free: 1.77 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.7259, allocations: 275.1 kB / 1.498 GB, free: 1.5 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005475/0.7264, allocations: 338.5 kB / 1.498 GB, free: 1.168 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.7293, allocations: 1.398 MB / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7293, allocations: 0 / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7293, allocations: 4 kB / 1.5 GB, free: 15.76 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.7293, allocations: 0 / 1.5 GB, free: 15.76 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.002224/0.7315, allocations: 1.048 MB / 1.501 GB, free: 14.68 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.7316, allocations: 8.031 kB / 1.501 GB, free: 14.67 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.7331, allocations: 219.2 kB / 1.501 GB, free: 14.46 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.7343, allocations: 0.5562 MB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.7344, allocations: 40.92 kB / 1.501 GB, free: 13.83 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.7345, allocations: 48 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.7356, allocations: 0.6451 MB / 1.502 GB, free: 13.1 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.7357, allocations: 0 / 1.502 GB, free: 13.1 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.7357, allocations: 20 kB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.7357, allocations: 17 kB / 1.502 GB, free: 13.06 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.7366, allocations: 443.6 kB / 1.502 GB, free: 12.63 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.00277/0.7394, allocations: 1.227 MB / 1.504 GB, free: 11.36 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/0.7401, allocations: 335.5 kB / 1.504 GB, free: 11.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.7405, allocations: 197.9 kB / 1.504 GB, free: 10.83 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.7408, allocations: 40.19 kB / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.7409, allocations: 38.84 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.7409, allocations: 0 / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001447/0.7423, allocations: 0.5461 MB / 1.505 GB, free: 10.2 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.7424, allocations: 59.34 kB / 1.505 GB, free: 10.12 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.743, allocations: 466.9 kB / 1.505 GB, free: 9.656 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.743, allocations: 37.7 kB / 1.505 GB, free: 9.613 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.7434, allocations: 304.5 kB / 1.506 GB, free: 9.312 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.7435, allocations: 126.8 kB / 1.506 GB, free: 9.188 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.7437, allocations: 70.03 kB / 1.506 GB, free: 9.113 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.7439, allocations: 362.7 kB / 1.506 GB, free: 8.75 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.7442, allocations: 150.1 kB / 1.506 GB, free: 8.602 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.7447, allocations: 373.8 kB / 1.507 GB, free: 8.176 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.7453, allocations: 339.1 kB / 1.507 GB, free: 7.832 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.7453, allocations: 0 / 1.507 GB, free: 7.832 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00085/0.7462, allocations: 432.8 kB / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.7462, allocations: 4 kB / 1.507 GB, free: 7.398 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.7462, allocations: 4 kB / 1.507 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.7462, allocations: 0 / 1.507 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.7466, allocations: 71.89 kB / 1.507 GB, free: 7.324 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.7466, allocations: 4 kB / 1.507 GB, free: 7.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004947/0.7471, allocations: 35.75 kB / 1.507 GB, free: 7.285 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.7471, allocations: 12 kB / 1.507 GB, free: 7.273 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005257/0.7476, allocations: 316.1 kB / 1.508 GB, free: 6.961 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004371/0.7481, allocations: 369.5 kB / 1.508 GB, free: 6.539 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006226/0.7487, allocations: 335.2 kB / 1.508 GB, free: 6.199 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.7487, allocations: 0 / 1.508 GB, free: 6.199 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007714/0.7495, allocations: 428.9 kB / 1.509 GB, free: 5.773 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7495, allocations: 8 kB / 1.509 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.7495, allocations: 0 / 1.509 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.7495, allocations: 128 / 1.509 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.7498, allocations: 75.91 kB / 1.509 GB, free: 5.691 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7498, allocations: 7.938 kB / 1.509 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.7503, allocations: 31.86 kB / 1.509 GB, free: 5.652 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.7503, allocations: 16.09 kB / 1.509 GB, free: 5.637 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.0002234/0.7506, allocations: 208.1 kB / 1.509 GB, free: 5.426 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.7507, allocations: 59.62 kB / 1.509 GB, free: 5.367 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00087/0.7516, allocations: 410.6 kB / 1.51 GB, free: 4.961 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000693/0.7523, allocations: 433.6 kB / 1.51 GB, free: 4.508 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7523, allocations: 0 / 1.51 GB, free: 4.508 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.7526, allocations: 103.5 kB / 1.51 GB, free: 4.406 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.7527, allocations: 8 kB / 1.51 GB, free: 4.398 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.7531, allocations: 25.52 kB / 1.51 GB, free: 4.375 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.7532, allocations: 19.95 kB / 1.51 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0011/0.7543, allocations: 496.8 kB / 1.511 GB, free: 3.863 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001182/0.7555, allocations: 0.7558 MB / 1.511 GB, free: 3.09 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003011/0.7558, allocations: 160.5 kB / 1.512 GB, free: 2.934 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004399/0.7562, allocations: 330.9 kB / 1.512 GB, free: 2.613 MB / 1.201 GB Notification: Performance of Backend: time 7.82e-07/0.7562, allocations: 0 / 1.512 GB, free: 2.613 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002143/0.7583, allocations: 0.7178 MB / 1.513 GB, free: 1.891 MB / 1.201 GB Notification: Performance of SimCode: time 0.003196/0.7615, allocations: 1.796 MB / 1.514 GB, free: 52 kB / 1.201 GB Notification: Performance of Templates: time 0.03019/0.7917, allocations: 16.72 MB / 1.531 GB, free: 15.58 MB / 1.232 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: 10.857920182999806]