Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_10_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.001116/0.001116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001121/0.001121, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.08 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.683, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2129/0.8959, allocations: 180.9 MB / 1.193 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008769/0.9048, allocations: 4.836 MB / 1.198 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.906, allocations: 27.81 kB / 1.198 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.9073, allocations: 382.1 kB / 1.199 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003731/0.9111, allocations: 1.33 MB / 1.2 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.9132, allocations: 0.7053 MB / 1.201 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.9159, allocations: 1.844 MB / 1.202 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008282/0.9167, allocations: 0.5706 MB / 1.203 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.9186, allocations: 0.8678 MB / 1.204 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.9197, allocations: 0.5887 MB / 1.204 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.9198, allocations: 59.94 kB / 1.204 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.9223, allocations: 1.465 MB / 1.206 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.9226, allocations: 263.2 kB / 1.206 GB, free: 232 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004437/0.9231, allocations: 406.2 kB / 1.206 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.9252, allocations: 1.492 MB / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9252, allocations: 0 / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9252, allocations: 0 / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9252, allocations: 0 / 1.208 GB, free: 14.33 MB / 0.9669 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.00173/0.9269, allocations: 1.102 MB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.927, allocations: 8.031 kB / 1.209 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.9283, allocations: 202.8 kB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.9292, allocations: 0.5888 MB / 1.21 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.9292, allocations: 36.94 kB / 1.21 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.9293, allocations: 48 kB / 1.21 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/0.9302, allocations: 498.3 kB / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.9302, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.9303, allocations: 20 kB / 1.21 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.9303, allocations: 17 kB / 1.21 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.9311, allocations: 443.7 kB / 1.211 GB, free: 11.29 MB / 0.9669 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.002579/0.9337, allocations: 2.002 MB / 1.213 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.9343, allocations: 351.5 kB / 1.213 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.9347, allocations: 209.3 kB / 1.213 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.935, allocations: 194.4 kB / 1.213 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.935, allocations: 42.83 kB / 1.213 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.935, allocations: 0 / 1.213 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001265/0.9363, allocations: 0.5371 MB / 1.214 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.9363, allocations: 63.34 kB / 1.214 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.9369, allocations: 0.5107 MB / 1.215 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.937, allocations: 29.7 kB / 1.215 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.9372, allocations: 312.2 kB / 1.215 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.9373, allocations: 114.3 kB / 1.215 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.9375, allocations: 66.02 kB / 1.215 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9376, allocations: 362.8 kB / 1.215 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.9379, allocations: 146.1 kB / 1.216 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.9383, allocations: 219.3 kB / 1.216 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.9388, allocations: 340.3 kB / 1.216 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9389, allocations: 0 / 1.216 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007304/0.9396, allocations: 424.5 kB / 1.216 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.9396, allocations: 8 kB / 1.216 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.9396, allocations: 96 / 1.216 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9397, allocations: 4 kB / 1.216 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.94, allocations: 71.91 kB / 1.217 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.94, allocations: 7.938 kB / 1.217 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.9406, allocations: 63.64 kB / 1.217 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.9406, allocations: 19.92 kB / 1.217 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004442/0.9411, allocations: 305.5 kB / 1.217 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003377/0.9414, allocations: 223.3 kB / 1.217 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005599/0.942, allocations: 327.4 kB / 1.217 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.942, allocations: 0 / 1.217 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007168/0.9427, allocations: 432.4 kB / 1.218 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9427, allocations: 8 kB / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.9427, allocations: 0 / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-06/0.9428, allocations: 0 / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.9431, allocations: 67.91 kB / 1.218 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9431, allocations: 4 kB / 1.218 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.9436, allocations: 67.89 kB / 1.218 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.9436, allocations: 12 kB / 1.218 GB, free: 3.465 MB / 0.9669 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.0001566/0.9438, allocations: 208.2 kB / 1.218 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.9439, allocations: 63.25 kB / 1.218 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.9447, allocations: 419 kB / 1.219 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.9447, allocations: 3.984 kB / 1.219 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.9447, allocations: 11.92 kB / 1.219 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006353/0.9454, allocations: 433.7 kB / 1.219 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.9472, allocations: 1.172 MB / 1.22 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9472, allocations: 4.188 kB / 1.22 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.9476, allocations: 83.89 kB / 1.22 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.9476, allocations: 0 / 1.22 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.9477, allocations: 19.92 kB / 1.22 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9477, allocations: 4 kB / 1.22 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.9477, allocations: 7.938 kB / 1.22 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.9487, allocations: 0.6998 MB / 1.221 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.9489, allocations: 176.2 kB / 1.221 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.949, allocations: 12 kB / 1.221 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.9496, allocations: 39.95 kB / 1.221 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.9497, allocations: 31.91 kB / 1.221 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.9497, allocations: 15.98 kB / 1.221 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004253/0.9501, allocations: 370.8 kB / 1.222 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.352e-06/0.9501, allocations: 0 / 1.222 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008725/0.951, allocations: 331.1 kB / 1.222 GB, free: 15.23 MB / 0.9825 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.000465/0.9515, allocations: 188.6 kB / 1.222 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.9527, allocations: 0.5542 MB / 1.223 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9527, allocations: 0 / 1.223 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.953, allocations: 176.5 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.9546, allocations: 368.7 kB / 1.223 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.9567, allocations: 1.475 MB / 1.225 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.9573, allocations: 0.9334 MB / 1.226 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006234/0.9579, allocations: 176.8 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.958, allocations: 47.42 kB / 1.226 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.9581, allocations: 0 / 1.226 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.02052/0.9786, allocations: 11.57 MB / 1.237 GB, free: 15.88 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_10_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches