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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009059/0.009059, allocations: 97.69 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 196.6 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.601/2.601, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.83 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9637/0.9649, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2303/1.195, allocations: 183.7 MB / 1.4 GB, free: 9.672 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009032/1.204, allocations: 4.874 MB / 1.405 GB, free: 4.789 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/1.206, allocations: 31.81 kB / 1.405 GB, free: 4.758 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/1.207, allocations: 453.3 kB / 1.405 GB, free: 4.312 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005272/1.213, allocations: 1.47 MB / 1.407 GB, free: 2.836 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/1.216, allocations: 0.7844 MB / 1.407 GB, free: 2.059 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004257/1.22, allocations: 1.855 MB / 1.409 GB, free: 204 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/1.221, allocations: 0.4964 MB / 1.41 GB, free: 15.69 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/1.224, allocations: 0.8988 MB / 1.411 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/1.226, allocations: 0.5369 MB / 1.411 GB, free: 14.25 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/1.226, allocations: 60 kB / 1.411 GB, free: 14.19 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/1.229, allocations: 1.422 MB / 1.413 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004915/1.23, allocations: 275.1 kB / 1.413 GB, free: 12.5 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008798/1.231, allocations: 402.1 kB / 1.413 GB, free: 12.1 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003684/1.234, allocations: 1.422 MB / 1.415 GB, free: 10.68 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.234, allocations: 4 kB / 1.415 GB, free: 10.67 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.873e-06/1.234, allocations: 0 / 1.415 GB, free: 10.67 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.797e-05/1.234, allocations: 0 / 1.415 GB, free: 10.67 MB / 1.139 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.002744/1.237, allocations: 1.124 MB / 1.416 GB, free: 9.496 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.237, allocations: 12.03 kB / 1.416 GB, free: 9.484 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/1.239, allocations: 223.2 kB / 1.416 GB, free: 9.266 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/1.24, allocations: 0.6128 MB / 1.417 GB, free: 8.613 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/1.24, allocations: 41 kB / 1.417 GB, free: 8.57 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.24, allocations: 48 kB / 1.417 GB, free: 8.523 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.242, allocations: 498.3 kB / 1.417 GB, free: 8.035 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/1.242, allocations: 0 / 1.417 GB, free: 8.035 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/1.242, allocations: 20 kB / 1.417 GB, free: 8.016 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/1.242, allocations: 17 kB / 1.417 GB, free: 8 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/1.243, allocations: 443.6 kB / 1.418 GB, free: 7.566 MB / 1.139 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.003555/1.246, allocations: 2.014 MB / 1.42 GB, free: 5.375 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/1.247, allocations: 331.5 kB / 1.42 GB, free: 5.043 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/1.247, allocations: 197.3 kB / 1.42 GB, free: 4.848 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/1.248, allocations: 190.5 kB / 1.42 GB, free: 4.625 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/1.248, allocations: 46.78 kB / 1.42 GB, free: 4.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=33): time 2.494e-06/1.248, allocations: 0 / 1.42 GB, free: 4.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.001386/1.249, allocations: 0.5344 MB / 1.421 GB, free: 4.031 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/1.249, allocations: 67.22 kB / 1.421 GB, free: 3.953 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/1.25, allocations: 0.5108 MB / 1.421 GB, free: 3.43 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/1.25, allocations: 37.7 kB / 1.421 GB, free: 3.387 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/1.25, allocations: 308.5 kB / 1.422 GB, free: 3.082 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/1.25, allocations: 123 kB / 1.422 GB, free: 2.961 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/1.25, allocations: 69.97 kB / 1.422 GB, free: 2.887 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.25, allocations: 366.8 kB / 1.422 GB, free: 2.52 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/1.251, allocations: 150.1 kB / 1.422 GB, free: 2.371 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/1.251, allocations: 215.6 kB / 1.423 GB, free: 2.137 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/1.252, allocations: 340.2 kB / 1.423 GB, free: 1.793 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.252, allocations: 0 / 1.423 GB, free: 1.793 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008308/1.253, allocations: 425 kB / 1.423 GB, free: 1.371 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.253, allocations: 10.19 kB / 1.423 GB, free: 1.363 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.253, allocations: 0 / 1.423 GB, free: 1.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/1.253, allocations: 8.094 kB / 1.423 GB, free: 1.355 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/1.253, allocations: 67.91 kB / 1.423 GB, free: 1.289 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/1.253, allocations: 11.88 kB / 1.423 GB, free: 1.277 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/1.254, allocations: 39.75 kB / 1.423 GB, free: 1.238 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/1.254, allocations: 16 kB / 1.423 GB, free: 1.223 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005331/1.254, allocations: 304 kB / 1.424 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003465/1.254, allocations: 206.8 kB / 1.424 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005746/1.255, allocations: 339.2 kB / 1.424 GB, free: 360 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/1.255, allocations: 4 kB / 1.424 GB, free: 356 kB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008177/1.256, allocations: 421 kB / 1.425 GB, free: 15.93 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/1.256, allocations: 4 kB / 1.425 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/1.256, allocations: 0 / 1.425 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/1.256, allocations: 4 kB / 1.425 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/1.256, allocations: 75.89 kB / 1.425 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/1.256, allocations: 0 / 1.425 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/1.257, allocations: 35.91 kB / 1.425 GB, free: 15.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/1.257, allocations: 19.94 kB / 1.425 GB, free: 15.79 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.0001866/1.257, allocations: 198.6 kB / 1.425 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/1.257, allocations: 59.62 kB / 1.425 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008176/1.258, allocations: 424.1 kB / 1.425 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.258, allocations: 4 kB / 1.425 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.258, allocations: 7.938 kB / 1.425 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006311/1.259, allocations: 448.4 kB / 1.426 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/1.261, allocations: 1.174 MB / 1.427 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/1.261, allocations: 128 / 1.427 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/1.261, allocations: 87.89 kB / 1.427 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/1.261, allocations: 4 kB / 1.427 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/1.261, allocations: 8 kB / 1.427 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/1.261, allocations: 11.92 kB / 1.427 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.261, allocations: 192 / 1.427 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.262, allocations: 0.7071 MB / 1.428 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/1.263, allocations: 184.6 kB / 1.428 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/1.263, allocations: 8 kB / 1.428 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/1.263, allocations: 27.97 kB / 1.428 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/1.263, allocations: 19.97 kB / 1.428 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/1.263, allocations: 16 kB / 1.428 GB, free: 12.26 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004949/1.264, allocations: 370.8 kB / 1.428 GB, free: 11.9 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.264, allocations: 0 / 1.428 GB, free: 11.9 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001091/1.265, allocations: 331.3 kB / 1.429 GB, free: 11.58 MB / 1.154 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.0005491/1.265, allocations: 181.4 kB / 1.429 GB, free: 11.4 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.266, allocations: 0.4958 MB / 1.429 GB, free: 10.9 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.266, allocations: 0 / 1.429 GB, free: 10.9 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/1.267, allocations: 175.8 kB / 1.43 GB, free: 10.73 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.268, allocations: 348.1 kB / 1.43 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/1.271, allocations: 1.279 MB / 1.431 GB, free: 9.07 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/1.271, allocations: 0.9295 MB / 1.432 GB, free: 8.113 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006601/1.272, allocations: 184.8 kB / 1.432 GB, free: 7.934 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/1.272, allocations: 47.44 kB / 1.432 GB, free: 7.887 MB / 1.154 GB Notification: Performance of SimCode: time 1.272e-06/1.272, allocations: 0 / 1.432 GB, free: 7.887 MB / 1.154 GB Notification: Performance of Templates: time 0.02256/1.295, allocations: 11.82 MB / 1.444 GB, free: 12.25 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) 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) Reference file matches