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.001482/0.001482, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001711/0.001711, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.91 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8705/0.872, allocations: 159.1 MB / 1.221 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2111/1.083, allocations: 183.3 MB / 1.4 GB, free: 10.56 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008703/1.092, allocations: 4.861 MB / 1.405 GB, free: 5.691 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/1.093, allocations: 35.81 kB / 1.405 GB, free: 5.656 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/1.095, allocations: 449.3 kB / 1.405 GB, free: 5.215 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003977/1.099, allocations: 1.466 MB / 1.406 GB, free: 3.746 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/1.101, allocations: 0.79 MB / 1.407 GB, free: 2.961 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002625/1.104, allocations: 1.848 MB / 1.409 GB, free: 1.105 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/1.105, allocations: 0.5901 MB / 1.41 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/1.107, allocations: 0.9068 MB / 1.411 GB, free: 15.59 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/1.108, allocations: 0.5376 MB / 1.411 GB, free: 15.05 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/1.109, allocations: 56 kB / 1.411 GB, free: 15 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/1.112, allocations: 1.426 MB / 1.412 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/1.112, allocations: 267.2 kB / 1.413 GB, free: 13.31 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007016/1.113, allocations: 406 kB / 1.413 GB, free: 12.91 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/1.116, allocations: 1.41 MB / 1.415 GB, free: 11.5 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.116, allocations: 0 / 1.415 GB, free: 11.5 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.493e-06/1.116, allocations: 0 / 1.415 GB, free: 11.5 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.625e-05/1.116, allocations: 0 / 1.415 GB, free: 11.5 MB / 1.139 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.002178/1.118, allocations: 1.108 MB / 1.416 GB, free: 10.34 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.118, allocations: 8.625 kB / 1.416 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.119, allocations: 210.8 kB / 1.416 GB, free: 10.13 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/1.12, allocations: 0.616 MB / 1.416 GB, free: 9.473 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/1.12, allocations: 40.98 kB / 1.416 GB, free: 9.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/1.121, allocations: 44 kB / 1.416 GB, free: 9.387 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009515/1.122, allocations: 498.3 kB / 1.417 GB, free: 8.898 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/1.122, allocations: 4 kB / 1.417 GB, free: 8.895 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/1.122, allocations: 27.98 kB / 1.417 GB, free: 8.867 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/1.122, allocations: 13 kB / 1.417 GB, free: 8.855 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/1.123, allocations: 439.7 kB / 1.417 GB, free: 8.426 MB / 1.139 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.00288/1.125, allocations: 2.002 MB / 1.419 GB, free: 6.246 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/1.126, allocations: 351.4 kB / 1.42 GB, free: 5.895 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/1.126, allocations: 209.3 kB / 1.42 GB, free: 5.688 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/1.127, allocations: 190.5 kB / 1.42 GB, free: 5.465 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.127, allocations: 38.84 kB / 1.42 GB, free: 5.418 MB / 1.139 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/1.127, allocations: 0 / 1.42 GB, free: 5.418 MB / 1.139 GB Notification: Performance of matching and sorting (n=33): time 0.001271/1.128, allocations: 0.5418 MB / 1.421 GB, free: 4.871 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.128, allocations: 59.34 kB / 1.421 GB, free: 4.801 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/1.129, allocations: 0.5069 MB / 1.421 GB, free: 4.281 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/1.129, allocations: 41.64 kB / 1.421 GB, free: 4.234 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/1.129, allocations: 304.1 kB / 1.422 GB, free: 3.934 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.129, allocations: 122.3 kB / 1.422 GB, free: 3.812 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/1.129, allocations: 69.94 kB / 1.422 GB, free: 3.738 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.129, allocations: 366.8 kB / 1.422 GB, free: 3.371 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/1.13, allocations: 142.1 kB / 1.422 GB, free: 3.23 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/1.13, allocations: 219.6 kB / 1.422 GB, free: 2.992 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/1.131, allocations: 340.2 kB / 1.423 GB, free: 2.648 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.131, allocations: 0 / 1.423 GB, free: 2.648 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007713/1.131, allocations: 424.7 kB / 1.423 GB, free: 2.227 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.131, allocations: 4 kB / 1.423 GB, free: 2.223 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.131, allocations: 8.062 kB / 1.423 GB, free: 2.215 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.131, allocations: 0 / 1.423 GB, free: 2.215 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/1.132, allocations: 75.89 kB / 1.423 GB, free: 2.141 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.132, allocations: 7.938 kB / 1.423 GB, free: 2.133 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/1.132, allocations: 39.7 kB / 1.423 GB, free: 2.094 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/1.132, allocations: 16 kB / 1.423 GB, free: 2.078 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004543/1.133, allocations: 308 kB / 1.424 GB, free: 1.773 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003134/1.133, allocations: 206.8 kB / 1.424 GB, free: 1.547 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005505/1.134, allocations: 339.3 kB / 1.424 GB, free: 1.203 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-06/1.134, allocations: 0 / 1.424 GB, free: 1.203 MB / 1.139 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.00073/1.134, allocations: 420.5 kB / 1.425 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/1.134, allocations: 12.09 kB / 1.425 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.134, allocations: 3.984 kB / 1.425 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/1.134, allocations: 4 kB / 1.425 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/1.135, allocations: 67.91 kB / 1.425 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.135, allocations: 4 kB / 1.425 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/1.135, allocations: 31.77 kB / 1.425 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/1.135, allocations: 19.97 kB / 1.425 GB, free: 0.6445 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.0001472/1.135, allocations: 208.1 kB / 1.425 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.136, allocations: 59.25 kB / 1.425 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/1.136, allocations: 420.1 kB / 1.425 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006085/1.137, allocations: 436.5 kB / 1.426 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.137, allocations: 0 / 1.426 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/1.137, allocations: 180.3 kB / 1.426 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.11e-05/1.137, allocations: 8 kB / 1.426 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/1.138, allocations: 23.98 kB / 1.426 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/1.138, allocations: 23.91 kB / 1.426 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001028/1.139, allocations: 492.5 kB / 1.426 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001094/1.14, allocations: 0.7599 MB / 1.427 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002986/1.14, allocations: 172.1 kB / 1.427 GB, free: 13.82 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004586/1.141, allocations: 366.8 kB / 1.428 GB, free: 13.46 MB / 1.154 GB Notification: Performance of Backend: time 3.91e-07/1.141, allocations: 0 / 1.428 GB, free: 13.46 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.143, allocations: 0.7364 MB / 1.428 GB, free: 12.73 MB / 1.154 GB Notification: Performance of SimCode: time 0.003194/1.146, allocations: 1.808 MB / 1.43 GB, free: 10.86 MB / 1.154 GB Notification: Performance of Templates: time 0.02644/1.173, allocations: 15.45 MB / 1.445 GB, free: 11.56 MB / 1.17 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