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.001821/0.001821, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002306/0.002306, allocations: 164.7 kB / 22.46 MB, free: 5.371 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.613/1.613, allocations: 177.1 MB / 202.8 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.048/3.048, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 5.4e-06/5.4e-06, allocations: 4 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.686e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.077/1.077, allocations: 161.9 MB / 1.139 GB, free: 45.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008598/1.086, allocations: 4.574 MB / 1.144 GB, free: 45.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/1.087, allocations: 46.91 kB / 1.144 GB, free: 45.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/1.088, allocations: 419.5 kB / 1.144 GB, free: 45.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003903/1.092, allocations: 1.505 MB / 1.146 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/1.094, allocations: 0.8354 MB / 1.147 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002343/1.097, allocations: 1.892 MB / 1.149 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/1.097, allocations: 467.4 kB / 1.149 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/1.1, allocations: 1.36 MB / 1.15 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/1.101, allocations: 0.4952 MB / 1.151 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/1.101, allocations: 60.59 kB / 1.151 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/1.104, allocations: 1.165 MB / 1.152 GB, free: 44.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/1.104, allocations: 284.3 kB / 1.152 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003744/1.104, allocations: 283.9 kB / 1.153 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/1.107, allocations: 1.442 MB / 1.154 GB, free: 44.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.107, allocations: 4.594 kB / 1.154 GB, free: 44.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.614e-06/1.107, allocations: 0 / 1.154 GB, free: 44.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.378e-05/1.107, allocations: 0.9688 kB / 1.154 GB, free: 44.76 MB / 1.076 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.001718/1.108, allocations: 1.05 MB / 1.155 GB, free: 44.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.108, allocations: 11.78 kB / 1.155 GB, free: 44.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/1.11, allocations: 222.1 kB / 1.155 GB, free: 44.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/1.111, allocations: 0.5568 MB / 1.156 GB, free: 43.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/1.111, allocations: 33.41 kB / 1.156 GB, free: 43.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/1.111, allocations: 54.36 kB / 1.156 GB, free: 43.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/1.112, allocations: 0.6383 MB / 1.156 GB, free: 43.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.112, allocations: 0.9062 kB / 1.156 GB, free: 43.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/1.112, allocations: 19.81 kB / 1.156 GB, free: 43.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/1.112, allocations: 20.69 kB / 1.156 GB, free: 43.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/1.113, allocations: 437.2 kB / 1.157 GB, free: 43.66 MB / 1.076 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.002162/1.115, allocations: 1.239 MB / 1.158 GB, free: 43.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/1.115, allocations: 326.4 kB / 1.158 GB, free: 43.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/1.116, allocations: 203 kB / 1.159 GB, free: 43.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/1.116, allocations: 39.98 kB / 1.159 GB, free: 43.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.116, allocations: 42.03 kB / 1.159 GB, free: 43.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.815e-06/1.116, allocations: 1.078 kB / 1.159 GB, free: 43.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.001168/1.117, allocations: 0.5432 MB / 1.159 GB, free: 43.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/1.117, allocations: 60.75 kB / 1.159 GB, free: 43.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/1.117, allocations: 477.3 kB / 1.16 GB, free: 43.03 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/1.117, allocations: 33.3 kB / 1.16 GB, free: 43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/1.118, allocations: 323.5 kB / 1.16 GB, free: 42.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.701e-05/1.118, allocations: 124.3 kB / 1.16 GB, free: 42.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/1.118, allocations: 66.97 kB / 1.16 GB, free: 42.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/1.118, allocations: 362.2 kB / 1.161 GB, free: 42.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/1.118, allocations: 144.2 kB / 1.161 GB, free: 42.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/1.118, allocations: 374 kB / 1.161 GB, free: 42.17 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/1.119, allocations: 337.9 kB / 1.161 GB, free: 42.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.119, allocations: 3.969 kB / 1.161 GB, free: 42.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006653/1.12, allocations: 437.1 kB / 1.162 GB, free: 42.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.12, allocations: 3.812 kB / 1.162 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/1.12, allocations: 3 kB / 1.162 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.12, allocations: 2.969 kB / 1.162 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/1.12, allocations: 70.09 kB / 1.162 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.12, allocations: 3.75 kB / 1.162 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/1.121, allocations: 36.14 kB / 1.162 GB, free: 42.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/1.121, allocations: 15.22 kB / 1.162 GB, free: 42.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004371/1.121, allocations: 308.4 kB / 1.162 GB, free: 41.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003146/1.121, allocations: 361 kB / 1.163 GB, free: 41.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005026/1.122, allocations: 338.7 kB / 1.163 GB, free: 41.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/1.122, allocations: 0 / 1.163 GB, free: 41.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006495/1.123, allocations: 422.9 kB / 1.163 GB, free: 41.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.123, allocations: 8.906 kB / 1.163 GB, free: 41.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/1.123, allocations: 2.844 kB / 1.163 GB, free: 41.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/1.123, allocations: 3.375 kB / 1.163 GB, free: 41.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/1.123, allocations: 66.11 kB / 1.163 GB, free: 41.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/1.123, allocations: 7.812 kB / 1.163 GB, free: 41.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/1.123, allocations: 36.44 kB / 1.163 GB, free: 41.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/1.123, allocations: 16.06 kB / 1.163 GB, free: 41.6 MB / 1.076 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.0001151/1.123, allocations: 209.1 kB / 1.164 GB, free: 41.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.206e-05/1.123, allocations: 60.92 kB / 1.164 GB, free: 41.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007566/1.124, allocations: 417.7 kB / 1.164 GB, free: 41.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.124, allocations: 2.625 kB / 1.164 GB, free: 41.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.124, allocations: 0.7812 kB / 1.164 GB, free: 41.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005693/1.125, allocations: 440.2 kB / 1.165 GB, free: 41.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.126, allocations: 1.015 MB / 1.166 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.126, allocations: 3.188 kB / 1.166 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/1.127, allocations: 84.92 kB / 1.166 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.127, allocations: 2.656 kB / 1.166 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/1.127, allocations: 10.41 kB / 1.166 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.127, allocations: 3 kB / 1.166 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.127, allocations: 3.719 kB / 1.166 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/1.128, allocations: 0.708 MB / 1.166 GB, free: 40.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/1.128, allocations: 97.12 kB / 1.166 GB, free: 40.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/1.128, allocations: 9.375 kB / 1.166 GB, free: 40.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/1.128, allocations: 25.61 kB / 1.166 GB, free: 40.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/1.129, allocations: 29.16 kB / 1.166 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/1.129, allocations: 17.86 kB / 1.166 GB, free: 40.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003298/1.129, allocations: 332.3 kB / 1.167 GB, free: 40.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.129, allocations: 0.8438 kB / 1.167 GB, free: 40.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008806/1.13, allocations: 334.3 kB / 1.167 GB, free: 40.48 MB / 1.076 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.0003396/1.13, allocations: 180.4 kB / 1.167 GB, free: 40.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008969/1.131, allocations: 0.4918 MB / 1.168 GB, free: 40.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.131, allocations: 0.8438 kB / 1.168 GB, free: 40.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/1.131, allocations: 175.1 kB / 1.168 GB, free: 40.37 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.133, allocations: 333.5 kB / 1.168 GB, free: 40.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/1.135, allocations: 1.18 MB / 1.169 GB, free: 39.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/1.136, allocations: 345.6 kB / 1.17 GB, free: 39.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005856/1.136, allocations: 182.1 kB / 1.17 GB, free: 39.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.136, allocations: 51.19 kB / 1.17 GB, free: 39.69 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/1.136, allocations: 0 / 1.17 GB, free: 39.69 MB / 1.076 GB Notification: Performance of Templates: time 0.02536/1.162, allocations: 11.6 MB / 1.181 GB, free: 38.6 MB / 1.076 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/jenkins/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.573597840964794]