Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_10_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.001822/0.001822, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.001714/0.001714, allocations: 186.6 kB / 17.35 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 55.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8767, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2105/1.087, allocations: 183.3 MB / 1.346 GB, free: 11.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008187/1.096, allocations: 4.863 MB / 1.351 GB, free: 7.027 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/1.097, allocations: 31.81 kB / 1.351 GB, free: 6.996 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/1.098, allocations: 449.3 kB / 1.351 GB, free: 6.555 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00472/1.103, allocations: 1.464 MB / 1.353 GB, free: 5.086 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/1.106, allocations: 0.7873 MB / 1.354 GB, free: 4.305 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00304/1.109, allocations: 1.851 MB / 1.355 GB, free: 2.449 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009314/1.11, allocations: 0.6018 MB / 1.356 GB, free: 1.832 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/1.112, allocations: 0.889 MB / 1.357 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/1.113, allocations: 0.5514 MB / 1.357 GB, free: 400 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/1.113, allocations: 60 kB / 1.358 GB, free: 340 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/1.116, allocations: 1.419 MB / 1.359 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/1.116, allocations: 259.3 kB / 1.359 GB, free: 14.66 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/1.117, allocations: 406.1 kB / 1.36 GB, free: 14.26 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/1.119, allocations: 1.422 MB / 1.361 GB, free: 12.83 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.119, allocations: 0 / 1.361 GB, free: 12.83 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.573e-06/1.119, allocations: 0 / 1.361 GB, free: 12.83 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.197e-05/1.119, allocations: 0 / 1.361 GB, free: 12.83 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.001839/1.121, allocations: 1.102 MB / 1.362 GB, free: 11.68 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.121, allocations: 12.92 kB / 1.362 GB, free: 11.67 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/1.122, allocations: 210.8 kB / 1.362 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/1.123, allocations: 0.616 MB / 1.363 GB, free: 10.8 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/1.123, allocations: 37 kB / 1.363 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/1.124, allocations: 55.98 kB / 1.363 GB, free: 10.71 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/1.124, allocations: 494.3 kB / 1.363 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.124, allocations: 0 / 1.363 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/1.125, allocations: 20 kB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.125, allocations: 17 kB / 1.363 GB, free: 10.19 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/1.125, allocations: 439.7 kB / 1.364 GB, free: 9.762 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.002779/1.128, allocations: 2.006 MB / 1.366 GB, free: 7.578 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/1.129, allocations: 350 kB / 1.366 GB, free: 7.23 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/1.129, allocations: 209.2 kB / 1.366 GB, free: 7.023 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/1.129, allocations: 190.5 kB / 1.367 GB, free: 6.801 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.13, allocations: 38.84 kB / 1.367 GB, free: 6.754 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/1.13, allocations: 0 / 1.367 GB, free: 6.754 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001296/1.131, allocations: 0.5454 MB / 1.367 GB, free: 6.203 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1.131, allocations: 55.41 kB / 1.367 GB, free: 6.137 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/1.132, allocations: 0.5108 MB / 1.368 GB, free: 5.613 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/1.132, allocations: 37.7 kB / 1.368 GB, free: 5.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/1.132, allocations: 300.2 kB / 1.368 GB, free: 5.273 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.132, allocations: 122.2 kB / 1.368 GB, free: 5.152 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.132, allocations: 66.03 kB / 1.368 GB, free: 5.082 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.132, allocations: 362.8 kB / 1.368 GB, free: 4.719 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/1.133, allocations: 150 kB / 1.369 GB, free: 4.57 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/1.133, allocations: 215.7 kB / 1.369 GB, free: 4.336 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005687/1.133, allocations: 340.8 kB / 1.369 GB, free: 3.992 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.133, allocations: 0 / 1.369 GB, free: 3.992 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000728/1.134, allocations: 432.6 kB / 1.37 GB, free: 3.562 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.134, allocations: 4 kB / 1.37 GB, free: 3.559 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.134, allocations: 0 / 1.37 GB, free: 3.559 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.134, allocations: 4 kB / 1.37 GB, free: 3.555 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/1.135, allocations: 71.98 kB / 1.37 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.135, allocations: 8 kB / 1.37 GB, free: 3.477 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/1.135, allocations: 47.67 kB / 1.37 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/1.135, allocations: 8 kB / 1.37 GB, free: 3.422 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004657/1.136, allocations: 308 kB / 1.37 GB, free: 3.117 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000344/1.136, allocations: 215.3 kB / 1.37 GB, free: 2.883 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000604/1.137, allocations: 335.3 kB / 1.371 GB, free: 2.543 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/1.137, allocations: 0 / 1.371 GB, free: 2.543 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006999/1.137, allocations: 420.7 kB / 1.371 GB, free: 2.125 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.137, allocations: 4 kB / 1.371 GB, free: 2.121 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.137, allocations: 11.92 kB / 1.371 GB, free: 2.109 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-06/1.137, allocations: 0 / 1.371 GB, free: 2.109 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/1.138, allocations: 75.89 kB / 1.371 GB, free: 2.035 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.138, allocations: 4 kB / 1.371 GB, free: 2.031 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/1.138, allocations: 35.86 kB / 1.371 GB, free: 1.996 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/1.138, allocations: 12 kB / 1.371 GB, free: 1.984 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.00015/1.138, allocations: 200.1 kB / 1.371 GB, free: 1.781 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/1.138, allocations: 63.25 kB / 1.371 GB, free: 1.719 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007737/1.139, allocations: 419 kB / 1.372 GB, free: 1.305 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006359/1.14, allocations: 433.7 kB / 1.372 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.14, allocations: 4 kB / 1.372 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/1.14, allocations: 172.3 kB / 1.372 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/1.14, allocations: 15.98 kB / 1.372 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/1.141, allocations: 22.22 kB / 1.372 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/1.141, allocations: 15.97 kB / 1.372 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009921/1.142, allocations: 0.4968 MB / 1.373 GB, free: 108 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00109/1.143, allocations: 0.7516 MB / 1.374 GB, free: 15.34 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002915/1.143, allocations: 164.5 kB / 1.374 GB, free: 15.18 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004138/1.144, allocations: 366.8 kB / 1.374 GB, free: 14.82 MB / 1.107 GB Notification: Performance of Backend: time 2.6e-07/1.144, allocations: 0 / 1.374 GB, free: 14.82 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.146, allocations: 0.7441 MB / 1.375 GB, free: 14.08 MB / 1.107 GB Notification: Performance of SimCode: time 0.00285/1.148, allocations: 1.814 MB / 1.377 GB, free: 12.21 MB / 1.107 GB Notification: Performance of Templates: time 0.02569/1.174, allocations: 15.45 MB / 1.392 GB, free: 12.92 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_10_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches