Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_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.001614/0.001614, allocations: 112.2 kB / 15.99 MB, free: 5.914 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.001715/0.001715, allocations: 191.5 kB / 16.91 MB, free: 5.758 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 62.16 kB / 0.8127 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2633, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6898/0.9532, allocations: 180.9 MB / 1.126 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008824/0.962, allocations: 4.846 MB / 1.131 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.9639, allocations: 30.09 kB / 1.131 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.9654, allocations: 378.5 kB / 1.131 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.97, allocations: 1.327 MB / 1.133 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.9724, allocations: 0.7045 MB / 1.133 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.9756, allocations: 1.849 MB / 1.135 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009359/0.9765, allocations: 0.5766 MB / 1.136 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.9786, allocations: 0.8708 MB / 1.137 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.9799, allocations: 0.5769 MB / 1.137 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.98, allocations: 57.56 kB / 1.137 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.9833, allocations: 1.471 MB / 1.139 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.9837, allocations: 260.5 kB / 1.139 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.9842, allocations: 409.9 kB / 1.139 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.9864, allocations: 1.036 MB / 1.14 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.9864, allocations: 4 kB / 1.14 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.316e-06/0.9864, allocations: 1 kB / 1.14 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.9864, allocations: 0 / 1.14 GB, free: 5.004 MB / 0.8575 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.002517/0.9889, allocations: 1.099 MB / 1.141 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.989, allocations: 16.58 kB / 1.141 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.9905, allocations: 200.8 kB / 1.142 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/0.9914, allocations: 0.5876 MB / 1.142 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.9915, allocations: 38.53 kB / 1.142 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.9916, allocations: 49.06 kB / 1.142 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.9928, allocations: 495.5 kB / 1.143 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.9928, allocations: 1.438 kB / 1.143 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.9929, allocations: 17.38 kB / 1.143 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.9929, allocations: 20.59 kB / 1.143 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.9938, allocations: 442.8 kB / 1.143 GB, free: 19.91 MB / 0.8731 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.003/0.9968, allocations: 2.004 MB / 1.145 GB, free: 18.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.9976, allocations: 351.8 kB / 1.146 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.998, allocations: 222.8 kB / 1.146 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.9983, allocations: 190.1 kB / 1.146 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.9983, allocations: 39.72 kB / 1.146 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/0.9983, allocations: 1.281 kB / 1.146 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001285/0.9996, allocations: 0.5379 MB / 1.147 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.9997, allocations: 55.94 kB / 1.147 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/1, allocations: 0.5096 MB / 1.147 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/1, allocations: 36.45 kB / 1.147 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/1.001, allocations: 304.5 kB / 1.147 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/1.001, allocations: 114.9 kB / 1.148 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.001, allocations: 72.81 kB / 1.148 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.001, allocations: 363.3 kB / 1.148 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/1.001, allocations: 142 kB / 1.148 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/1.002, allocations: 222.8 kB / 1.148 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/1.002, allocations: 336.8 kB / 1.149 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.002, allocations: 1.156 kB / 1.149 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007356/1.003, allocations: 431.5 kB / 1.149 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.003, allocations: 5.156 kB / 1.149 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/1.003, allocations: 1.125 kB / 1.149 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.003, allocations: 2.094 kB / 1.149 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/1.003, allocations: 77.48 kB / 1.149 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/1.003, allocations: 8.797 kB / 1.149 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/1.004, allocations: 60.77 kB / 1.149 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/1.004, allocations: 16.17 kB / 1.149 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004731/1.004, allocations: 306.1 kB / 1.149 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002996/1.005, allocations: 201.3 kB / 1.15 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005504/1.005, allocations: 332.6 kB / 1.15 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/1.005, allocations: 0 / 1.15 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007031/1.006, allocations: 431.5 kB / 1.15 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.006, allocations: 9.875 kB / 1.15 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/1.006, allocations: 1.375 kB / 1.15 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/1.006, allocations: 1.688 kB / 1.15 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/1.006, allocations: 68.5 kB / 1.15 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.006, allocations: 1.594 kB / 1.15 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/1.007, allocations: 73.22 kB / 1.151 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/1.007, allocations: 9.688 kB / 1.151 GB, free: 16.55 MB / 0.8731 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.0001618/1.007, allocations: 204.7 kB / 1.151 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/1.007, allocations: 60.66 kB / 1.151 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/1.008, allocations: 421.1 kB / 1.151 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.008, allocations: 8.25 kB / 1.151 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.008, allocations: 3.938 kB / 1.151 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006196/1.009, allocations: 437 kB / 1.152 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/1.011, allocations: 1.177 MB / 1.153 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.011, allocations: 1.188 kB / 1.153 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/1.011, allocations: 85.94 kB / 1.153 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.011, allocations: 2.844 kB / 1.153 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/1.011, allocations: 9 kB / 1.153 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.011, allocations: 4.219 kB / 1.153 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.011, allocations: 2.344 kB / 1.153 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.012, allocations: 0.7032 MB / 1.154 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/1.012, allocations: 180.2 kB / 1.154 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/1.013, allocations: 8.125 kB / 1.154 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/1.013, allocations: 45.53 kB / 1.154 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/1.013, allocations: 20.52 kB / 1.154 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/1.013, allocations: 21.81 kB / 1.154 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004308/1.014, allocations: 362.8 kB / 1.154 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.014, allocations: 0 / 1.154 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001088/1.015, allocations: 329.8 kB / 1.154 GB, free: 14.41 MB / 0.8731 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.000478/1.015, allocations: 187.3 kB / 1.155 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001076/1.016, allocations: 0.5595 MB / 1.155 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.016, allocations: 1.156 kB / 1.155 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/1.017, allocations: 175.8 kB / 1.155 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.018, allocations: 353.7 kB / 1.156 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/1.02, allocations: 1.531 MB / 1.157 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/1.021, allocations: 0.9307 MB / 1.158 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.021, allocations: 49.88 kB / 1.158 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of SimCode: time 1.353e-06/1.021, allocations: 0 / 1.158 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.01643/1.037, allocations: 9.668 MB / 1.168 GB, free: 10.29 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches