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.00155/0.001551, allocations: 106.5 kB / 16.41 MB, free: 6.5 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.001776/0.001776, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.433/1.433, 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.514/2.514, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.83 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.879, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2169/1.096, allocations: 183.3 MB / 1.346 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00866/1.105, allocations: 4.859 MB / 1.351 GB, free: 7.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/1.106, allocations: 27.81 kB / 1.351 GB, free: 6.992 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/1.107, allocations: 457.4 kB / 1.351 GB, free: 6.543 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/1.111, allocations: 1.456 MB / 1.353 GB, free: 5.082 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/1.113, allocations: 0.7918 MB / 1.354 GB, free: 4.297 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002683/1.116, allocations: 1.855 MB / 1.355 GB, free: 2.438 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009532/1.117, allocations: 0.5978 MB / 1.356 GB, free: 1.824 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/1.119, allocations: 0.9007 MB / 1.357 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/1.12, allocations: 0.5411 MB / 1.357 GB, free: 392 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/1.121, allocations: 60 kB / 1.358 GB, free: 332 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/1.123, allocations: 1.419 MB / 1.359 GB, free: 14.9 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/1.124, allocations: 263.2 kB / 1.359 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004964/1.124, allocations: 406.1 kB / 1.36 GB, free: 14.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/1.127, allocations: 1.422 MB / 1.361 GB, free: 12.82 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.127, allocations: 4 kB / 1.361 GB, free: 12.82 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.512e-06/1.127, allocations: 0 / 1.361 GB, free: 12.82 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.127, allocations: 0 / 1.361 GB, free: 12.82 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.001845/1.129, allocations: 1.102 MB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.129, allocations: 12.62 kB / 1.362 GB, free: 11.65 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/1.13, allocations: 206.8 kB / 1.362 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/1.131, allocations: 0.616 MB / 1.363 GB, free: 10.79 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/1.131, allocations: 40.98 kB / 1.363 GB, free: 10.75 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/1.131, allocations: 51.98 kB / 1.363 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/1.132, allocations: 494.3 kB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.132, allocations: 3.938 kB / 1.363 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/1.132, allocations: 24 kB / 1.363 GB, free: 10.19 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/1.132, allocations: 17 kB / 1.363 GB, free: 10.17 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/1.133, allocations: 439.7 kB / 1.364 GB, free: 9.742 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.002892/1.136, allocations: 1.998 MB / 1.366 GB, free: 7.566 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/1.137, allocations: 351.4 kB / 1.366 GB, free: 7.215 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/1.137, allocations: 209.3 kB / 1.366 GB, free: 7.008 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/1.137, allocations: 190.5 kB / 1.367 GB, free: 6.785 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.137, allocations: 34.84 kB / 1.367 GB, free: 6.742 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/1.137, allocations: 0 / 1.367 GB, free: 6.742 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001309/1.139, allocations: 0.5531 MB / 1.367 GB, free: 6.184 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.139, allocations: 59.34 kB / 1.367 GB, free: 6.113 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/1.139, allocations: 0.5069 MB / 1.368 GB, free: 5.594 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/1.139, allocations: 33.7 kB / 1.368 GB, free: 5.555 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/1.14, allocations: 300.2 kB / 1.368 GB, free: 5.258 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.14, allocations: 118.3 kB / 1.368 GB, free: 5.141 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/1.14, allocations: 70.03 kB / 1.368 GB, free: 5.066 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.14, allocations: 366.8 kB / 1.368 GB, free: 4.699 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/1.14, allocations: 142.1 kB / 1.369 GB, free: 4.559 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.141, allocations: 215.7 kB / 1.369 GB, free: 4.324 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/1.141, allocations: 345 kB / 1.369 GB, free: 3.977 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.141, allocations: 0 / 1.369 GB, free: 3.977 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007581/1.142, allocations: 436.5 kB / 1.37 GB, free: 3.543 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.142, allocations: 4 kB / 1.37 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.142, allocations: 0 / 1.37 GB, free: 3.539 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.142, allocations: 4 kB / 1.37 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/1.142, allocations: 71.89 kB / 1.37 GB, free: 3.465 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/1.142, allocations: 3.938 kB / 1.37 GB, free: 3.461 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/1.143, allocations: 39.67 kB / 1.37 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/1.143, allocations: 16.09 kB / 1.37 GB, free: 3.406 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004695/1.143, allocations: 312 kB / 1.37 GB, free: 3.098 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003221/1.144, allocations: 207.4 kB / 1.37 GB, free: 2.871 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005645/1.144, allocations: 335.3 kB / 1.371 GB, free: 2.531 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-06/1.144, allocations: 0 / 1.371 GB, free: 2.531 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007058/1.145, allocations: 420.6 kB / 1.371 GB, free: 2.113 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.145, allocations: 8.078 kB / 1.371 GB, free: 2.105 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/1.145, allocations: 11.94 kB / 1.371 GB, free: 2.094 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-06/1.145, allocations: 0 / 1.371 GB, free: 2.094 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/1.145, allocations: 71.91 kB / 1.371 GB, free: 2.023 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/1.145, allocations: 0 / 1.371 GB, free: 2.023 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/1.146, allocations: 35.77 kB / 1.371 GB, free: 1.988 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/1.146, allocations: 15.98 kB / 1.371 GB, free: 1.973 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.0001655/1.146, allocations: 200.1 kB / 1.371 GB, free: 1.77 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.146, allocations: 67.25 kB / 1.371 GB, free: 1.703 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/1.147, allocations: 415.1 kB / 1.372 GB, free: 1.293 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.147, allocations: 0 / 1.372 GB, free: 1.293 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.147, allocations: 11.94 kB / 1.372 GB, free: 1.281 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006318/1.148, allocations: 433.6 kB / 1.372 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/1.15, allocations: 1.17 MB / 1.373 GB, free: 15.58 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.15, allocations: 0 / 1.373 GB, free: 15.58 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/1.15, allocations: 96.06 kB / 1.373 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.15, allocations: 0 / 1.373 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/1.15, allocations: 8 kB / 1.373 GB, free: 15.48 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.15, allocations: 4 kB / 1.373 GB, free: 15.48 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.15, allocations: 4 kB / 1.373 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/1.151, allocations: 0.699 MB / 1.374 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/1.152, allocations: 180.3 kB / 1.374 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/1.152, allocations: 11.98 kB / 1.374 GB, free: 14.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/1.152, allocations: 23.98 kB / 1.374 GB, free: 14.51 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/1.152, allocations: 23.97 kB / 1.374 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/1.152, allocations: 11.98 kB / 1.374 GB, free: 14.47 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004232/1.153, allocations: 370.8 kB / 1.375 GB, free: 14.11 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.01e-07/1.153, allocations: 3.938 kB / 1.375 GB, free: 14.11 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009732/1.154, allocations: 315.3 kB / 1.375 GB, free: 13.8 MB / 1.107 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.0004448/1.154, allocations: 197.7 kB / 1.375 GB, free: 13.61 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.155, allocations: 0.5268 MB / 1.376 GB, free: 13.08 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.155, allocations: 0 / 1.376 GB, free: 13.08 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/1.155, allocations: 184.6 kB / 1.376 GB, free: 12.9 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.157, allocations: 356.7 kB / 1.376 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/1.159, allocations: 1.286 MB / 1.377 GB, free: 11.21 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/1.16, allocations: 0.9295 MB / 1.378 GB, free: 10.26 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/1.16, allocations: 51.44 kB / 1.378 GB, free: 10.21 MB / 1.107 GB Notification: Performance of SimCode: time 6.31e-07/1.16, allocations: 0 / 1.378 GB, free: 10.21 MB / 1.107 GB Notification: Performance of Templates: time 0.01524/1.175, allocations: 9.732 MB / 1.388 GB, free: 0.5703 MB / 1.107 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