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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001326/0.001326, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001271/0.001271, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.94 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2896, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.7616/1.051, allocations: 183.3 MB / 1.13 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009382/1.061, allocations: 4.866 MB / 1.135 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/1.063, allocations: 31.94 kB / 1.135 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/1.065, allocations: 435.2 kB / 1.135 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00529/1.07, allocations: 1.422 MB / 1.137 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/1.073, allocations: 0.7798 MB / 1.137 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00498/1.078, allocations: 1.84 MB / 1.139 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/1.08, allocations: 0.598 MB / 1.14 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/1.084, allocations: 0.8737 MB / 1.141 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/1.086, allocations: 0.5367 MB / 1.141 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/1.086, allocations: 63.62 kB / 1.141 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004938/1.091, allocations: 1.415 MB / 1.143 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/1.091, allocations: 266.2 kB / 1.143 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008203/1.092, allocations: 402.3 kB / 1.143 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003457/1.096, allocations: 1.421 MB / 1.145 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.096, allocations: 1.062 kB / 1.145 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.524e-06/1.096, allocations: 0 / 1.145 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.392e-05/1.096, allocations: 0 / 1.145 GB, free: 3.66 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.00268/1.099, allocations: 1.095 MB / 1.146 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.099, allocations: 8.938 kB / 1.146 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/1.101, allocations: 209.2 kB / 1.146 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/1.103, allocations: 0.618 MB / 1.147 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/1.103, allocations: 34.53 kB / 1.147 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/1.103, allocations: 53.28 kB / 1.147 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.104, allocations: 0.4909 MB / 1.147 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.104, allocations: 1.656 kB / 1.147 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/1.104, allocations: 16.97 kB / 1.147 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/1.104, allocations: 17.59 kB / 1.147 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/1.106, allocations: 437.1 kB / 1.148 GB, free: 18.57 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.003982/1.11, allocations: 2.015 MB / 1.15 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/1.111, allocations: 347.7 kB / 1.15 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/1.111, allocations: 210.7 kB / 1.15 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/1.111, allocations: 192.2 kB / 1.15 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/1.112, allocations: 37.06 kB / 1.15 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.787e-06/1.112, allocations: 4 kB / 1.15 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001912/1.113, allocations: 0.5331 MB / 1.151 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.114, allocations: 60.59 kB / 1.151 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/1.114, allocations: 0.5087 MB / 1.151 GB, free: 17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/1.114, allocations: 32.77 kB / 1.151 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/1.115, allocations: 307.8 kB / 1.152 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.115, allocations: 117.4 kB / 1.152 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.115, allocations: 74.05 kB / 1.152 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.115, allocations: 363.4 kB / 1.152 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/1.116, allocations: 147.4 kB / 1.152 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/1.116, allocations: 219.2 kB / 1.153 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/1.117, allocations: 334.7 kB / 1.153 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.117, allocations: 0 / 1.153 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001193/1.118, allocations: 433.4 kB / 1.153 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.118, allocations: 5.625 kB / 1.153 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.118, allocations: 1.219 kB / 1.153 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/1.118, allocations: 2.094 kB / 1.153 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/1.119, allocations: 70.64 kB / 1.153 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.119, allocations: 16.59 kB / 1.153 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/1.12, allocations: 40.41 kB / 1.153 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/1.12, allocations: 10.56 kB / 1.153 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007105/1.12, allocations: 309.6 kB / 1.154 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004431/1.121, allocations: 207.2 kB / 1.154 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007091/1.122, allocations: 324.2 kB / 1.154 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/1.122, allocations: 1.562 kB / 1.154 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00103/1.123, allocations: 430.7 kB / 1.155 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.123, allocations: 8.531 kB / 1.155 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/1.123, allocations: 1.5 kB / 1.155 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.293e-06/1.123, allocations: 2.219 kB / 1.155 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/1.123, allocations: 71.48 kB / 1.155 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.123, allocations: 2.375 kB / 1.155 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/1.124, allocations: 43.67 kB / 1.155 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/1.124, allocations: 21.09 kB / 1.155 GB, free: 15.04 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.0002021/1.124, allocations: 198.5 kB / 1.155 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.124, allocations: 57.12 kB / 1.155 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/1.125, allocations: 426.1 kB / 1.155 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.125, allocations: 3.969 kB / 1.155 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.126, allocations: 3.938 kB / 1.155 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008636/1.126, allocations: 440.7 kB / 1.156 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/1.129, allocations: 1.168 MB / 1.157 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.129, allocations: 4.406 kB / 1.157 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/1.13, allocations: 86.03 kB / 1.157 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/1.13, allocations: 3.594 kB / 1.157 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/1.13, allocations: 11.09 kB / 1.157 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.13, allocations: 6.219 kB / 1.157 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.13, allocations: 2.219 kB / 1.157 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.131, allocations: 0.7021 MB / 1.158 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/1.131, allocations: 180.5 kB / 1.158 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/1.131, allocations: 7.594 kB / 1.158 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/1.132, allocations: 26.95 kB / 1.158 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/1.132, allocations: 25.28 kB / 1.158 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/1.132, allocations: 9.938 kB / 1.158 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004524/1.132, allocations: 365.5 kB / 1.158 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.132, allocations: 4 kB / 1.158 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001024/1.133, allocations: 325.2 kB / 1.159 GB, free: 12.91 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.0004693/1.134, allocations: 192.6 kB / 1.159 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001044/1.135, allocations: 0.5153 MB / 1.159 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.135, allocations: 9.312 kB / 1.159 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/1.135, allocations: 178.6 kB / 1.16 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.137, allocations: 352.9 kB / 1.16 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/1.139, allocations: 1.248 MB / 1.161 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/1.139, allocations: 0.9288 MB / 1.162 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005557/1.14, allocations: 185.9 kB / 1.162 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/1.14, allocations: 52.8 kB / 1.162 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/1.14, allocations: 0 / 1.162 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.02081/1.161, allocations: 11.68 MB / 1.174 GB, free: 7.215 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 -s gbode -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