Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 107.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_11_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_11_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7729, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1987/0.9715, allocations: 184.2 MB / 1.451 GB, free: 12.48 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007515/0.979, allocations: 4.896 MB / 1.456 GB, free: 7.574 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006882/0.9797, allocations: 31.81 kB / 1.456 GB, free: 7.543 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.9808, allocations: 453.3 kB / 1.456 GB, free: 7.098 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.9839, allocations: 1.47 MB / 1.458 GB, free: 5.621 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.9857, allocations: 0.794 MB / 1.459 GB, free: 4.832 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.9878, allocations: 1.851 MB / 1.46 GB, free: 2.977 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.9885, allocations: 460.4 kB / 1.461 GB, free: 2.512 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.99, allocations: 0.9067 MB / 1.462 GB, free: 1.602 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.991, allocations: 0.5788 MB / 1.462 GB, free: 1.023 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.707e-05/0.9911, allocations: 56 kB / 1.462 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.9936, allocations: 1.489 MB / 1.464 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.9939, allocations: 267.2 kB / 1.464 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.9943, allocations: 406 kB / 1.465 GB, free: 14.82 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.9962, allocations: 1.425 MB / 1.466 GB, free: 13.39 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9962, allocations: 8 kB / 1.466 GB, free: 13.38 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9962, allocations: 0 / 1.466 GB, free: 13.38 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.9962, allocations: 0 / 1.466 GB, free: 13.38 MB / 1.154 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.001661/0.9979, allocations: 1.12 MB / 1.467 GB, free: 12.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.9979, allocations: 12.03 kB / 1.467 GB, free: 12.2 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.998, allocations: 90.52 kB / 1.467 GB, free: 12.1 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.9993, allocations: 215.3 kB / 1.467 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/1, allocations: 0.6244 MB / 1.468 GB, free: 11.22 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/1, allocations: 37 kB / 1.468 GB, free: 11.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/1, allocations: 44 kB / 1.468 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/1.001, allocations: 0.4905 MB / 1.468 GB, free: 10.65 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/1.001, allocations: 0 / 1.468 GB, free: 10.65 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/1.001, allocations: 20 kB / 1.469 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/1.001, allocations: 21 kB / 1.469 GB, free: 10.61 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/1.002, allocations: 439.7 kB / 1.469 GB, free: 10.18 MB / 1.154 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.002565/1.005, allocations: 2.01 MB / 1.471 GB, free: 7.984 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/1.005, allocations: 335.5 kB / 1.471 GB, free: 7.648 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/1.005, allocations: 193.2 kB / 1.471 GB, free: 7.457 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/1.006, allocations: 202.5 kB / 1.472 GB, free: 7.223 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/1.006, allocations: 38.78 kB / 1.472 GB, free: 7.176 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/1.006, allocations: 4 kB / 1.472 GB, free: 7.172 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.001211/1.007, allocations: 0.5383 MB / 1.472 GB, free: 6.629 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.007, allocations: 63.28 kB / 1.472 GB, free: 6.555 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/1.008, allocations: 0.503 MB / 1.473 GB, free: 6.039 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/1.008, allocations: 33.7 kB / 1.473 GB, free: 6 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/1.008, allocations: 308.6 kB / 1.473 GB, free: 5.695 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.008, allocations: 115 kB / 1.473 GB, free: 5.582 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.008, allocations: 73.98 kB / 1.473 GB, free: 5.504 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.008, allocations: 370.8 kB / 1.474 GB, free: 5.133 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/1.009, allocations: 142 kB / 1.474 GB, free: 4.992 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/1.009, allocations: 219.6 kB / 1.474 GB, free: 4.754 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/1.009, allocations: 347.8 kB / 1.474 GB, free: 4.402 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.009, allocations: 0 / 1.474 GB, free: 4.402 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007213/1.01, allocations: 429 kB / 1.475 GB, free: 3.977 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.01, allocations: 4 kB / 1.475 GB, free: 3.973 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.01, allocations: 0 / 1.475 GB, free: 3.973 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.01, allocations: 4 kB / 1.475 GB, free: 3.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/1.011, allocations: 79.83 kB / 1.475 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.011, allocations: 0 / 1.475 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/1.011, allocations: 39.77 kB / 1.475 GB, free: 3.852 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/1.011, allocations: 15.98 kB / 1.475 GB, free: 3.836 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004312/1.011, allocations: 312.1 kB / 1.475 GB, free: 3.527 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000315/1.012, allocations: 210.7 kB / 1.475 GB, free: 3.297 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005486/1.012, allocations: 331.3 kB / 1.476 GB, free: 2.961 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/1.012, allocations: 3.938 kB / 1.476 GB, free: 2.957 MB / 1.154 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007133/1.013, allocations: 428.9 kB / 1.476 GB, free: 2.531 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.013, allocations: 10.02 kB / 1.476 GB, free: 2.523 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/1.013, allocations: 4 kB / 1.476 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-06/1.013, allocations: 4.094 kB / 1.476 GB, free: 2.516 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/1.013, allocations: 67.91 kB / 1.476 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.013, allocations: 7.938 kB / 1.476 GB, free: 2.441 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/1.014, allocations: 31.88 kB / 1.476 GB, free: 2.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/1.014, allocations: 11.98 kB / 1.476 GB, free: 2.398 MB / 1.154 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.0001329/1.014, allocations: 196.2 kB / 1.476 GB, free: 2.199 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/1.014, allocations: 63.62 kB / 1.476 GB, free: 2.137 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/1.015, allocations: 428.1 kB / 1.477 GB, free: 1.711 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.015, allocations: 7.938 kB / 1.477 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/1.015, allocations: 128 / 1.477 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000622/1.015, allocations: 440.5 kB / 1.477 GB, free: 1.242 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/1.017, allocations: 1.176 MB / 1.478 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.017, allocations: 4 kB / 1.478 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/1.018, allocations: 84.02 kB / 1.478 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.018, allocations: 4 kB / 1.478 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/1.018, allocations: 12 kB / 1.479 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.018, allocations: 0 / 1.479 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/1.018, allocations: 4 kB / 1.479 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.019, allocations: 0.7047 MB / 1.479 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/1.019, allocations: 176.7 kB / 1.479 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/1.019, allocations: 11.98 kB / 1.479 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/1.019, allocations: 25.7 kB / 1.479 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/1.019, allocations: 27.91 kB / 1.479 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/1.019, allocations: 23.86 kB / 1.479 GB, free: 14.87 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000393/1.02, allocations: 362.8 kB / 1.48 GB, free: 14.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.02, allocations: 0 / 1.48 GB, free: 14.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007824/1.021, allocations: 331.3 kB / 1.48 GB, free: 14.2 MB / 1.17 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.001612/1.022, allocations: 1.354 MB / 1.481 GB, free: 12.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009483/1.023, allocations: 496 kB / 1.482 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.023, allocations: 4 kB / 1.482 GB, free: 12.32 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/1.023, allocations: 180.5 kB / 1.482 GB, free: 12.14 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.025, allocations: 360.7 kB / 1.482 GB, free: 11.8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005907/1.031, allocations: 4.649 MB / 1.487 GB, free: 7.004 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/1.031, allocations: 0.9373 MB / 1.488 GB, free: 6.039 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004974/1.032, allocations: 176.8 kB / 1.488 GB, free: 5.867 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/1.032, allocations: 219.4 kB / 1.488 GB, free: 5.652 MB / 1.17 GB Notification: Performance of SimCode: time 4.2e-07/1.032, allocations: 3.938 kB / 1.488 GB, free: 5.648 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/1.075, allocations: 16.96 MB / 1.505 GB, free: 4.953 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/9.201, allocations: 10.98 kB / 1.505 GB, free: 4.945 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.457218917999853]