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.001738/0.001738, 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.002143/0.002143, allocations: 210.4 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.615/1.615, 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.594/3.594, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002062/0.002062, allocations: 67.36 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.468, 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.2412/0.7092, allocations: 162 MB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00962/0.7188, allocations: 4.574 MB / 1.49 GB, free: 9.84 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.72, allocations: 47.56 kB / 1.49 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.7215, allocations: 417.5 kB / 1.49 GB, free: 9.383 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.7265, allocations: 1.466 MB / 1.492 GB, free: 7.91 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.7294, allocations: 0.8054 MB / 1.492 GB, free: 7.109 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003297/0.7327, allocations: 1.894 MB / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009308/0.7336, allocations: 480.9 kB / 1.495 GB, free: 4.719 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.7366, allocations: 1.133 MB / 1.496 GB, free: 3.582 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.7382, allocations: 0.5706 MB / 1.496 GB, free: 3.012 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.7383, allocations: 60 kB / 1.496 GB, free: 2.953 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.7413, allocations: 1.169 MB / 1.498 GB, free: 1.781 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.7417, allocations: 275.1 kB / 1.498 GB, free: 1.512 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.7422, allocations: 334.5 kB / 1.498 GB, free: 1.184 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002799/0.745, allocations: 1.394 MB / 1.499 GB, free: 15.79 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.745, allocations: 0 / 1.499 GB, free: 15.79 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.954e-06/0.745, allocations: 0 / 1.499 GB, free: 15.79 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.745, allocations: 3.938 kB / 1.499 GB, free: 15.78 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.002206/0.7472, allocations: 1.061 MB / 1.501 GB, free: 14.69 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7473, allocations: 8.031 kB / 1.501 GB, free: 14.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.7487, allocations: 215.3 kB / 1.501 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.7498, allocations: 0.5523 MB / 1.501 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.7499, allocations: 37 kB / 1.501 GB, free: 13.85 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.75, allocations: 48 kB / 1.501 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.7511, allocations: 0.6334 MB / 1.502 GB, free: 13.13 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.7511, allocations: 4 kB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.7512, allocations: 20 kB / 1.502 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.7512, allocations: 20.98 kB / 1.502 GB, free: 13.09 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.7521, allocations: 435.7 kB / 1.502 GB, free: 12.66 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.002911/0.755, allocations: 1.242 MB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.7558, allocations: 330.3 kB / 1.504 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.7562, allocations: 198.3 kB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.7564, allocations: 36.25 kB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.7565, allocations: 38.84 kB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 2.766e-06/0.7565, allocations: 4 kB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.001496/0.758, allocations: 0.5344 MB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.758, allocations: 59.34 kB / 1.505 GB, free: 10.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.7588, allocations: 474.9 kB / 1.505 GB, free: 9.684 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.337e-05/0.7588, allocations: 33.7 kB / 1.505 GB, free: 9.645 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.7591, allocations: 320.4 kB / 1.506 GB, free: 9.328 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.7593, allocations: 130.8 kB / 1.506 GB, free: 9.199 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.7594, allocations: 65.97 kB / 1.506 GB, free: 9.129 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.7597, allocations: 362.8 kB / 1.506 GB, free: 8.766 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.76, allocations: 142.1 kB / 1.506 GB, free: 8.625 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.7605, allocations: 381.8 kB / 1.507 GB, free: 8.191 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.7612, allocations: 339.1 kB / 1.507 GB, free: 7.848 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.7612, allocations: 4.062 kB / 1.507 GB, free: 7.844 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008587/0.762, allocations: 428.8 kB / 1.507 GB, free: 7.418 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.7621, allocations: 9.875 kB / 1.507 GB, free: 7.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.7621, allocations: 0 / 1.507 GB, free: 7.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.7621, allocations: 4 kB / 1.507 GB, free: 7.406 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.7625, allocations: 75.98 kB / 1.507 GB, free: 7.332 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.7625, allocations: 4 kB / 1.507 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.763, allocations: 31.81 kB / 1.507 GB, free: 7.297 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.763, allocations: 12 kB / 1.508 GB, free: 7.285 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005126/0.7635, allocations: 311.9 kB / 1.508 GB, free: 6.977 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004885/0.764, allocations: 365.6 kB / 1.508 GB, free: 6.559 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006298/0.7647, allocations: 339.3 kB / 1.508 GB, free: 6.215 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.7647, allocations: 0 / 1.508 GB, free: 6.215 MB / 1.201 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008367/0.7655, allocations: 421 kB / 1.509 GB, free: 5.797 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7655, allocations: 7.984 kB / 1.509 GB, free: 5.789 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.7655, allocations: 0 / 1.509 GB, free: 5.789 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.7655, allocations: 4.094 kB / 1.509 GB, free: 5.785 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.7659, allocations: 67.91 kB / 1.509 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.7659, allocations: 4 kB / 1.509 GB, free: 5.715 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.7664, allocations: 31.88 kB / 1.509 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.7664, allocations: 19.86 kB / 1.509 GB, free: 5.664 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.0002022/0.7666, allocations: 204.2 kB / 1.509 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.7667, allocations: 63.61 kB / 1.509 GB, free: 5.395 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008635/0.7676, allocations: 418.7 kB / 1.51 GB, free: 4.98 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.7676, allocations: 3.984 kB / 1.51 GB, free: 4.977 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.7676, allocations: 0 / 1.51 GB, free: 4.977 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006989/0.7683, allocations: 445.6 kB / 1.51 GB, free: 4.512 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.7703, allocations: 1 MB / 1.511 GB, free: 3.457 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.7703, allocations: 7.984 kB / 1.511 GB, free: 3.449 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.7708, allocations: 87.83 kB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.7708, allocations: 4 kB / 1.511 GB, free: 3.359 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.7708, allocations: 8 kB / 1.511 GB, free: 3.352 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.7708, allocations: 0 / 1.511 GB, free: 3.352 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.7708, allocations: 7.938 kB / 1.511 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.772, allocations: 0.6959 MB / 1.512 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.7723, allocations: 103.5 kB / 1.512 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.7723, allocations: 12 kB / 1.512 GB, free: 2.5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.7728, allocations: 23.97 kB / 1.512 GB, free: 2.477 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.7729, allocations: 31.95 kB / 1.512 GB, free: 2.445 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.7729, allocations: 12 kB / 1.512 GB, free: 2.434 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004312/0.7734, allocations: 338.8 kB / 1.512 GB, free: 2.105 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7734, allocations: 4 kB / 1.512 GB, free: 2.102 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001011/0.7744, allocations: 335.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.0003818/0.7748, allocations: 167.1 kB / 1.513 GB, free: 1.602 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.7759, allocations: 0.5002 MB / 1.513 GB, free: 1.102 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7759, allocations: 3.938 kB / 1.513 GB, free: 1.098 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.7762, allocations: 172.4 kB / 1.513 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.7777, allocations: 325.5 kB / 1.514 GB, free: 0.6133 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.78, allocations: 1.272 MB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.7805, allocations: 340.4 kB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005828/0.781, allocations: 176.6 kB / 1.516 GB, free: 14.76 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.7812, allocations: 47.38 kB / 1.516 GB, free: 14.71 MB / 1.217 GB Notification: Performance of SimCode: time 1.142e-06/0.7812, allocations: 0 / 1.516 GB, free: 14.71 MB / 1.217 GB Notification: Performance of Templates: time 0.02429/0.8055, allocations: 12.78 MB / 1.528 GB, free: 2.223 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 cvode -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: 11.020845866994932]