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.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.001538/0.001538, allocations: 84.39 kB / 20.23 MB, free: 4.312 MB / 18.57 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.001622/0.001622, allocations: 169.2 kB / 23.55 MB, free: 0.9922 MB / 18.57 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.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.801/2.801, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.155e-05/4.365e-05, allocations: 6.375 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2671/0.2672, allocations: 161.8 MB / 0.9444 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.2777, allocations: 4.59 MB / 0.9489 GB, free: 5.898 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2791, allocations: 43.62 kB / 0.9489 GB, free: 5.855 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.2806, allocations: 425.2 kB / 0.9493 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004739/0.2853, allocations: 1.5 MB / 0.9508 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.2883, allocations: 0.8295 MB / 0.9516 GB, free: 3.098 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.2915, allocations: 1.898 MB / 0.9534 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009197/0.2924, allocations: 485.2 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.295, allocations: 1.141 MB / 0.955 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.2966, allocations: 0.5085 MB / 0.9555 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.2967, allocations: 56 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.2997, allocations: 1.184 MB / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.3001, allocations: 283.1 kB / 0.957 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.3006, allocations: 287.3 kB / 0.9573 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.3035, allocations: 1.449 MB / 0.9587 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3035, allocations: 8 kB / 0.9587 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3035, allocations: 0 / 0.9587 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.3035, allocations: 0 / 0.9587 GB, free: 11.79 MB / 0.9167 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.002227/0.3057, allocations: 1.048 MB / 0.9597 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3058, allocations: 8.031 kB / 0.9597 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.3077, allocations: 275 kB / 0.96 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.309, allocations: 0.5992 MB / 0.9606 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.309, allocations: 33 kB / 0.9606 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3091, allocations: 55.98 kB / 0.9607 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.3103, allocations: 0.6373 MB / 0.9613 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3104, allocations: 0 / 0.9613 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.3104, allocations: 20 kB / 0.9613 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/0.3105, allocations: 17 kB / 0.9613 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3116, allocations: 447.6 kB / 0.9617 GB, free: 8.566 MB / 0.9167 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.003135/0.3147, allocations: 1.262 MB / 0.963 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/0.3155, allocations: 339.5 kB / 0.9633 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.3159, allocations: 198.5 kB / 0.9635 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.3162, allocations: 36.27 kB / 0.9635 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.3162, allocations: 46.77 kB / 0.9636 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 5.992e-06/0.3162, allocations: 3.984 kB / 0.9636 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.001523/0.3177, allocations: 0.5539 MB / 0.9641 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.3178, allocations: 59.34 kB / 0.9642 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.3185, allocations: 475 kB / 0.9646 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.3185, allocations: 33.7 kB / 0.9646 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.3189, allocations: 316.5 kB / 0.965 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.3193, allocations: 118.9 kB / 0.9651 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3194, allocations: 74.02 kB / 0.9651 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002377/0.3197, allocations: 366.7 kB / 0.9655 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.32, allocations: 142.1 kB / 0.9656 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.3206, allocations: 377.8 kB / 0.966 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.3213, allocations: 336.6 kB / 0.9663 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3213, allocations: 0 / 0.9663 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009781/0.3223, allocations: 450 kB / 0.9667 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3223, allocations: 4 kB / 0.9667 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3223, allocations: 0 / 0.9667 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.3223, allocations: 4 kB / 0.9667 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.3227, allocations: 67.91 kB / 0.9668 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3227, allocations: 0 / 0.9668 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.3232, allocations: 43.89 kB / 0.9668 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.3232, allocations: 12 kB / 0.9669 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005694/0.3238, allocations: 312 kB / 0.9672 GB, free: 2.824 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004995/0.3243, allocations: 368.9 kB / 0.9675 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006543/0.3249, allocations: 331.1 kB / 0.9678 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.3249, allocations: 4 kB / 0.9678 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008779/0.3258, allocations: 437.1 kB / 0.9682 GB, free: 1.629 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3258, allocations: 4 kB / 0.9682 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3258, allocations: 4 kB / 0.9682 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/0.3258, allocations: 0 / 0.9682 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.3262, allocations: 71.89 kB / 0.9683 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3262, allocations: 4 kB / 0.9683 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.3266, allocations: 35.97 kB / 0.9684 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3267, allocations: 8 kB / 0.9684 GB, free: 1.504 MB / 0.9167 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.000209/0.3269, allocations: 212.1 kB / 0.9686 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.327, allocations: 67.62 kB / 0.9686 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009289/0.3279, allocations: 416.4 kB / 0.969 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.328, allocations: 4 kB / 0.969 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.328, allocations: 0 / 0.969 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007688/0.3287, allocations: 444.4 kB / 0.9695 GB, free: 348 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.3308, allocations: 1.002 MB / 0.9704 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3308, allocations: 0 / 0.9704 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.3312, allocations: 92.06 kB / 0.9705 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3313, allocations: 4 kB / 0.9705 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.3313, allocations: 8 kB / 0.9705 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.3313, allocations: 8.062 kB / 0.9705 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.3313, allocations: 7.938 kB / 0.9705 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3326, allocations: 0.7031 MB / 0.9712 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.3329, allocations: 103.6 kB / 0.9713 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.333, allocations: 12 kB / 0.9713 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.3334, allocations: 27.91 kB / 0.9714 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.3335, allocations: 27.89 kB / 0.9714 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3335, allocations: 12 kB / 0.9714 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004651/0.334, allocations: 334.8 kB / 0.9717 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.334, allocations: 7.938 kB / 0.9717 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001315/0.3353, allocations: 335.3 kB / 0.9721 GB, free: 13.59 MB / 0.9323 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.0004057/0.3357, allocations: 179.1 kB / 0.9722 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.3369, allocations: 0.4915 MB / 0.9727 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3369, allocations: 0 / 0.9727 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.3373, allocations: 175.8 kB / 0.9729 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.3389, allocations: 344.4 kB / 0.9732 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.3412, allocations: 1.191 MB / 0.9744 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.3417, allocations: 340.7 kB / 0.9747 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006294/0.3423, allocations: 172.7 kB / 0.9749 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3425, allocations: 48.5 kB / 0.9749 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of SimCode: time 8.31e-07/0.3425, allocations: 0 / 0.9749 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of Templates: time 0.02742/0.3699, allocations: 11.65 MB / 0.9863 GB, free: 15.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.174756642081775]