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.001514/0.001521, allocations: 102 kB / 16.41 MB, free: 6.488 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.0017/0.0017, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7355 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.9024, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2032/1.106, allocations: 183.2 MB / 1.387 GB, free: 5.645 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01037/1.116, allocations: 4.862 MB / 1.392 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/1.118, allocations: 31.81 kB / 1.392 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/1.12, allocations: 437.3 kB / 1.393 GB, free: 316 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004223/1.124, allocations: 1.408 MB / 1.394 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/1.127, allocations: 0.7834 MB / 1.395 GB, free: 14.11 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003012/1.13, allocations: 1.85 MB / 1.397 GB, free: 12.26 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/1.131, allocations: 0.5901 MB / 1.397 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/1.133, allocations: 0.8889 MB / 1.398 GB, free: 10.77 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/1.135, allocations: 0.5415 MB / 1.398 GB, free: 10.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/1.135, allocations: 60 kB / 1.399 GB, free: 10.17 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/1.138, allocations: 1.419 MB / 1.4 GB, free: 8.75 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/1.139, allocations: 271.2 kB / 1.4 GB, free: 8.484 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008921/1.14, allocations: 402.1 kB / 1.401 GB, free: 8.09 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/1.143, allocations: 1.418 MB / 1.402 GB, free: 6.668 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.143, allocations: 0 / 1.402 GB, free: 6.668 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.074e-06/1.143, allocations: 0 / 1.402 GB, free: 6.668 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.455e-05/1.143, allocations: 0 / 1.402 GB, free: 6.668 MB / 1.123 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.002222/1.145, allocations: 1.098 MB / 1.403 GB, free: 5.52 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.145, allocations: 8.031 kB / 1.403 GB, free: 5.512 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/1.147, allocations: 218.8 kB / 1.403 GB, free: 5.297 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.148, allocations: 0.616 MB / 1.404 GB, free: 4.641 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/1.148, allocations: 41 kB / 1.404 GB, free: 4.598 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/1.148, allocations: 44 kB / 1.404 GB, free: 4.555 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/1.149, allocations: 498.3 kB / 1.404 GB, free: 4.062 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.149, allocations: 4 kB / 1.404 GB, free: 4.059 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/1.149, allocations: 24 kB / 1.404 GB, free: 4.035 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/1.149, allocations: 17 kB / 1.404 GB, free: 4.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008691/1.15, allocations: 435.7 kB / 1.405 GB, free: 3.594 MB / 1.123 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.002984/1.153, allocations: 2.013 MB / 1.407 GB, free: 1.402 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/1.154, allocations: 343.5 kB / 1.407 GB, free: 1.059 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/1.154, allocations: 207.8 kB / 1.407 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/1.154, allocations: 190.5 kB / 1.408 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/1.154, allocations: 46.83 kB / 1.408 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/1.154, allocations: 0 / 1.408 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of matching and sorting (n=33): time 0.001318/1.156, allocations: 0.531 MB / 1.408 GB, free: 44 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.156, allocations: 63.28 kB / 1.408 GB, free: 15.97 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/1.156, allocations: 0.5147 MB / 1.409 GB, free: 15.45 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/1.157, allocations: 33.7 kB / 1.409 GB, free: 15.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/1.157, allocations: 304.2 kB / 1.409 GB, free: 15.11 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/1.157, allocations: 118.3 kB / 1.409 GB, free: 14.99 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.157, allocations: 66.02 kB / 1.409 GB, free: 14.92 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.157, allocations: 366.8 kB / 1.409 GB, free: 14.55 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/1.157, allocations: 142.1 kB / 1.41 GB, free: 14.41 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/1.158, allocations: 223.6 kB / 1.41 GB, free: 14.17 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/1.158, allocations: 335.7 kB / 1.41 GB, free: 13.83 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.158, allocations: 0 / 1.41 GB, free: 13.83 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007979/1.159, allocations: 429 kB / 1.411 GB, free: 13.4 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.159, allocations: 8 kB / 1.411 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.159, allocations: 0 / 1.411 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.159, allocations: 4 kB / 1.411 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.16, allocations: 72 kB / 1.411 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/1.16, allocations: 11.88 kB / 1.411 GB, free: 13.31 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/1.16, allocations: 39.66 kB / 1.411 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/1.16, allocations: 16 kB / 1.411 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004678/1.161, allocations: 300 kB / 1.411 GB, free: 12.96 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003143/1.161, allocations: 210.8 kB / 1.411 GB, free: 12.73 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005884/1.162, allocations: 335.1 kB / 1.412 GB, free: 12.39 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/1.162, allocations: 7.938 kB / 1.412 GB, free: 12.38 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007583/1.162, allocations: 420.8 kB / 1.412 GB, free: 11.96 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.162, allocations: 4 kB / 1.412 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/1.162, allocations: 0 / 1.412 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/1.162, allocations: 4 kB / 1.412 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/1.163, allocations: 71.84 kB / 1.412 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.163, allocations: 0 / 1.412 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/1.163, allocations: 43.84 kB / 1.412 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/1.163, allocations: 16 kB / 1.412 GB, free: 11.82 MB / 1.139 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.0001482/1.164, allocations: 196.1 kB / 1.412 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.164, allocations: 63.19 kB / 1.412 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/1.164, allocations: 419.3 kB / 1.413 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/1.165, allocations: 4 kB / 1.413 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.165, allocations: 7.938 kB / 1.413 GB, free: 11.13 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006069/1.165, allocations: 436.2 kB / 1.413 GB, free: 10.67 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/1.167, allocations: 1.174 MB / 1.414 GB, free: 9.422 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.167, allocations: 128 / 1.414 GB, free: 9.422 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/1.167, allocations: 83.89 kB / 1.414 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.167, allocations: 4 kB / 1.414 GB, free: 9.336 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/1.168, allocations: 12 kB / 1.414 GB, free: 9.324 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/1.168, allocations: 7.938 kB / 1.414 GB, free: 9.316 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.168, allocations: 0 / 1.414 GB, free: 9.316 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/1.169, allocations: 0.7035 MB / 1.415 GB, free: 8.578 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/1.169, allocations: 184.2 kB / 1.415 GB, free: 8.379 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/1.169, allocations: 8 kB / 1.415 GB, free: 8.371 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/1.17, allocations: 30.3 kB / 1.415 GB, free: 8.344 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/1.17, allocations: 19.95 kB / 1.415 GB, free: 8.324 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/1.17, allocations: 16 kB / 1.415 GB, free: 8.309 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004426/1.17, allocations: 374.8 kB / 1.416 GB, free: 7.945 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.01e-07/1.17, allocations: 0 / 1.416 GB, free: 7.945 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009465/1.171, allocations: 315.3 kB / 1.416 GB, free: 7.637 MB / 1.139 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.0004801/1.172, allocations: 200.1 kB / 1.416 GB, free: 7.441 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.173, allocations: 0.5194 MB / 1.417 GB, free: 6.922 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.173, allocations: 4 kB / 1.417 GB, free: 6.918 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/1.173, allocations: 179.8 kB / 1.417 GB, free: 6.742 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/1.175, allocations: 353 kB / 1.417 GB, free: 6.402 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/1.177, allocations: 1.289 MB / 1.418 GB, free: 5.062 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/1.177, allocations: 0.9373 MB / 1.419 GB, free: 4.094 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/1.178, allocations: 47.44 kB / 1.419 GB, free: 4.051 MB / 1.139 GB Notification: Performance of SimCode: time 6.51e-07/1.178, allocations: 0 / 1.419 GB, free: 4.051 MB / 1.139 GB Notification: Performance of Templates: time 0.01586/1.193, allocations: 9.719 MB / 1.429 GB, free: 10.42 MB / 1.154 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches