Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_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.009641/0.009641, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.002058/0.002058, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001636, allocations: 63.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3681, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.091/1.459, allocations: 183.3 MB / 1.387 GB, free: 5.008 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009109/1.468, allocations: 4.858 MB / 1.391 GB, free: 1.066 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/1.47, allocations: 29.88 kB / 1.391 GB, free: 1.055 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/1.471, allocations: 437.1 kB / 1.392 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/1.475, allocations: 1.413 MB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/1.477, allocations: 0.7771 MB / 1.394 GB, free: 15.03 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002926/1.48, allocations: 1.857 MB / 1.396 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/1.481, allocations: 0.5853 MB / 1.396 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/1.483, allocations: 0.8887 MB / 1.397 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/1.485, allocations: 0.5439 MB / 1.398 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001299/1.485, allocations: 58.69 kB / 1.398 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/1.488, allocations: 1.412 MB / 1.399 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/1.488, allocations: 265.7 kB / 1.399 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005973/1.489, allocations: 399 kB / 1.4 GB, free: 11.52 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/1.492, allocations: 1.415 MB / 1.401 GB, free: 10.63 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.492, allocations: 3.938 kB / 1.401 GB, free: 10.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.274e-06/1.492, allocations: 1.188 kB / 1.401 GB, free: 10.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.492, allocations: 0 / 1.401 GB, free: 10.62 MB / 1.092 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.001929/1.494, allocations: 1.105 MB / 1.402 GB, free: 9.738 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.494, allocations: 10.12 kB / 1.402 GB, free: 9.738 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/1.495, allocations: 210.4 kB / 1.403 GB, free: 9.645 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/1.496, allocations: 0.613 MB / 1.403 GB, free: 9.145 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/1.496, allocations: 42.28 kB / 1.403 GB, free: 9.125 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/1.496, allocations: 50.7 kB / 1.403 GB, free: 9.105 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/1.497, allocations: 0.4964 MB / 1.404 GB, free: 8.816 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.497, allocations: 0 / 1.404 GB, free: 8.816 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/1.497, allocations: 16.69 kB / 1.404 GB, free: 8.805 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/1.497, allocations: 24 kB / 1.404 GB, free: 8.793 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/1.498, allocations: 434.2 kB / 1.404 GB, free: 8.594 MB / 1.092 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.003017/1.501, allocations: 2.003 MB / 1.406 GB, free: 6.867 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/1.502, allocations: 343 kB / 1.406 GB, free: 6.688 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/1.502, allocations: 207.8 kB / 1.407 GB, free: 6.586 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/1.503, allocations: 195.2 kB / 1.407 GB, free: 6.383 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.503, allocations: 42.78 kB / 1.407 GB, free: 6.336 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 2.906e-06/1.503, allocations: 0 / 1.407 GB, free: 6.336 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001435/1.504, allocations: 0.5432 MB / 1.407 GB, free: 6.062 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.504, allocations: 59.47 kB / 1.407 GB, free: 5.996 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/1.505, allocations: 0.515 MB / 1.408 GB, free: 5.688 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/1.505, allocations: 32.45 kB / 1.408 GB, free: 5.652 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/1.505, allocations: 303.3 kB / 1.408 GB, free: 5.387 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.505, allocations: 114.6 kB / 1.408 GB, free: 5.285 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/1.505, allocations: 72.39 kB / 1.408 GB, free: 5.238 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.506, allocations: 362.9 kB / 1.409 GB, free: 4.887 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/1.506, allocations: 139.1 kB / 1.409 GB, free: 4.816 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/1.506, allocations: 222.9 kB / 1.409 GB, free: 4.66 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/1.507, allocations: 341.5 kB / 1.409 GB, free: 4.469 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.507, allocations: 0 / 1.409 GB, free: 4.469 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008277/1.508, allocations: 436 kB / 1.41 GB, free: 4.242 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.508, allocations: 11.89 kB / 1.41 GB, free: 4.234 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.508, allocations: 2.125 kB / 1.41 GB, free: 4.234 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/1.508, allocations: 2.938 kB / 1.41 GB, free: 4.234 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/1.508, allocations: 75.69 kB / 1.41 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.508, allocations: 6.25 kB / 1.41 GB, free: 4.211 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/1.509, allocations: 36.36 kB / 1.41 GB, free: 4.188 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/1.509, allocations: 17.83 kB / 1.41 GB, free: 4.18 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004518/1.509, allocations: 302.4 kB / 1.41 GB, free: 3.984 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003079/1.51, allocations: 212.3 kB / 1.411 GB, free: 3.84 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005467/1.51, allocations: 328.9 kB / 1.411 GB, free: 3.656 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/1.51, allocations: 4 kB / 1.411 GB, free: 3.652 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006766/1.511, allocations: 429.3 kB / 1.411 GB, free: 3.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/1.511, allocations: 5.188 kB / 1.411 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-06/1.511, allocations: 0 / 1.411 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/1.511, allocations: 2.812 kB / 1.411 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/1.511, allocations: 70.59 kB / 1.411 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.511, allocations: 2.531 kB / 1.411 GB, free: 3.414 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/1.512, allocations: 41.16 kB / 1.411 GB, free: 3.387 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/1.512, allocations: 13 kB / 1.411 GB, free: 3.383 MB / 1.092 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.0001667/1.512, allocations: 201 kB / 1.412 GB, free: 3.188 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.512, allocations: 59.47 kB / 1.412 GB, free: 3.156 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/1.513, allocations: 422.1 kB / 1.412 GB, free: 2.91 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.513, allocations: 5.031 kB / 1.412 GB, free: 2.91 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.513, allocations: 7.938 kB / 1.412 GB, free: 2.902 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006203/1.514, allocations: 428.8 kB / 1.412 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.515, allocations: 1.174 MB / 1.414 GB, free: 1.734 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.515, allocations: 2 kB / 1.414 GB, free: 1.734 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/1.516, allocations: 85.7 kB / 1.414 GB, free: 1.715 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.516, allocations: 2.594 kB / 1.414 GB, free: 1.715 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/1.516, allocations: 8.688 kB / 1.414 GB, free: 1.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/1.516, allocations: 6.188 kB / 1.414 GB, free: 1.711 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.516, allocations: 2.312 kB / 1.414 GB, free: 1.711 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.517, allocations: 0.7073 MB / 1.414 GB, free: 1.246 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/1.517, allocations: 185.5 kB / 1.415 GB, free: 1.078 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/1.517, allocations: 12.53 kB / 1.415 GB, free: 1.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/1.518, allocations: 22.16 kB / 1.415 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/1.518, allocations: 24.91 kB / 1.415 GB, free: 1.047 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/1.518, allocations: 13.5 kB / 1.415 GB, free: 1.043 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004523/1.518, allocations: 370.5 kB / 1.415 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.31e-07/1.518, allocations: 0 / 1.415 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008636/1.519, allocations: 320.6 kB / 1.415 GB, free: 0.7656 MB / 1.092 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.0004205/1.52, allocations: 194.4 kB / 1.415 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001043/1.521, allocations: 0.5241 MB / 1.416 GB, free: 400 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.521, allocations: 0 / 1.416 GB, free: 400 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/1.521, allocations: 181.8 kB / 1.416 GB, free: 316 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.523, allocations: 356.3 kB / 1.417 GB, free: 128 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/1.525, allocations: 1.235 MB / 1.418 GB, free: 15.19 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/1.526, allocations: 0.9373 MB / 1.419 GB, free: 14.22 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005804/1.526, allocations: 184.7 kB / 1.419 GB, free: 14.04 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.526, allocations: 51.42 kB / 1.419 GB, free: 13.99 MB / 1.107 GB Notification: Performance of SimCode: time 5.71e-07/1.526, allocations: 0 / 1.419 GB, free: 13.99 MB / 1.107 GB Notification: Performance of Templates: time 0.02062/1.547, allocations: 11.75 MB / 1.43 GB, free: 2.398 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches