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.001353/0.001353, allocations: 104.9 kB / 15.98 MB, free: 6.355 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.001306/0.001306, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.454/1.454, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.78/2.78, allocations: 437.1 MB / 0.7107 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.7 kB / 0.8694 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3289, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8345/1.163, allocations: 180.9 MB / 1.194 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009825/1.173, allocations: 4.847 MB / 1.199 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/1.175, allocations: 27.84 kB / 1.199 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/1.176, allocations: 388.3 kB / 1.199 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/1.181, allocations: 1.314 MB / 1.2 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/1.184, allocations: 0.72 MB / 1.201 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003317/1.187, allocations: 1.844 MB / 1.203 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009453/1.188, allocations: 0.5783 MB / 1.204 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/1.191, allocations: 0.8715 MB / 1.204 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/1.192, allocations: 0.5767 MB / 1.205 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/1.192, allocations: 57.56 kB / 1.205 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/1.195, allocations: 1.469 MB / 1.206 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/1.196, allocations: 265.7 kB / 1.207 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005277/1.196, allocations: 399 kB / 1.207 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/1.198, allocations: 1.042 MB / 1.208 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.198, allocations: 3.938 kB / 1.208 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.154e-06/1.198, allocations: 0 / 1.208 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.25e-05/1.198, allocations: 4 kB / 1.208 GB, free: 3.543 MB / 0.9044 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.00208/1.2, allocations: 1.093 MB / 1.209 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.2, allocations: 10.5 kB / 1.209 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.202, allocations: 215.9 kB / 1.209 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/1.203, allocations: 0.5855 MB / 1.21 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/1.203, allocations: 33.16 kB / 1.21 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-05/1.203, allocations: 49.12 kB / 1.21 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.204, allocations: 0.4901 MB / 1.211 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.204, allocations: 0 / 1.211 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/1.204, allocations: 17.34 kB / 1.211 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/1.204, allocations: 16.09 kB / 1.211 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/1.205, allocations: 436.1 kB / 1.211 GB, free: 1.543 MB / 0.9044 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.003208/1.208, allocations: 2.014 MB / 1.213 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/1.209, allocations: 349.8 kB / 1.213 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/1.209, allocations: 211 kB / 1.213 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/1.21, allocations: 195.7 kB / 1.214 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/1.21, allocations: 39.88 kB / 1.214 GB, free: 15.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/1.21, allocations: 0 / 1.214 GB, free: 15.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001354/1.211, allocations: 0.5369 MB / 1.214 GB, free: 15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/1.211, allocations: 56.47 kB / 1.214 GB, free: 14.94 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006119/1.212, allocations: 0.5068 MB / 1.215 GB, free: 14.63 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/1.212, allocations: 36.39 kB / 1.215 GB, free: 14.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/1.212, allocations: 312.7 kB / 1.215 GB, free: 14.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.212, allocations: 113.8 kB / 1.215 GB, free: 14.22 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/1.212, allocations: 73.33 kB / 1.215 GB, free: 14.17 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.213, allocations: 369.4 kB / 1.216 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/1.213, allocations: 142.8 kB / 1.216 GB, free: 13.74 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/1.213, allocations: 219.1 kB / 1.216 GB, free: 13.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/1.214, allocations: 332.9 kB / 1.216 GB, free: 13.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.214, allocations: 7.688 kB / 1.216 GB, free: 13.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007693/1.215, allocations: 425.7 kB / 1.217 GB, free: 13.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.215, allocations: 14.03 kB / 1.217 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.215, allocations: 2.188 kB / 1.217 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.215, allocations: 1.938 kB / 1.217 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/1.215, allocations: 71.66 kB / 1.217 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.215, allocations: 5.781 kB / 1.217 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/1.216, allocations: 68.05 kB / 1.217 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/1.216, allocations: 21.98 kB / 1.217 GB, free: 13.11 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005182/1.216, allocations: 304.2 kB / 1.217 GB, free: 12.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003538/1.217, allocations: 208.5 kB / 1.217 GB, free: 12.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006177/1.217, allocations: 335.3 kB / 1.218 GB, free: 12.36 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/1.217, allocations: 0 / 1.218 GB, free: 12.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007617/1.218, allocations: 428.6 kB / 1.218 GB, free: 11.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.218, allocations: 4 kB / 1.218 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/1.218, allocations: 4.094 kB / 1.218 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/1.218, allocations: 4 kB / 1.218 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/1.219, allocations: 67.91 kB / 1.218 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/1.219, allocations: 0 / 1.218 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/1.219, allocations: 67.67 kB / 1.218 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/1.219, allocations: 11.98 kB / 1.218 GB, free: 11.77 MB / 0.92 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.0002023/1.219, allocations: 200.2 kB / 1.218 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/1.219, allocations: 59.25 kB / 1.219 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000861/1.22, allocations: 427 kB / 1.219 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.22, allocations: 4 kB / 1.219 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.22, allocations: 3.938 kB / 1.219 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006503/1.221, allocations: 429.7 kB / 1.219 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/1.223, allocations: 1.171 MB / 1.22 GB, free: 9.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.223, allocations: 0 / 1.22 GB, free: 9.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/1.224, allocations: 83.89 kB / 1.221 GB, free: 9.301 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/1.224, allocations: 15.91 kB / 1.221 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/1.224, allocations: 12.19 kB / 1.221 GB, free: 9.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/1.224, allocations: 11.92 kB / 1.221 GB, free: 9.262 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.224, allocations: 0 / 1.221 GB, free: 9.262 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/1.225, allocations: 0.7068 MB / 1.221 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/1.225, allocations: 180.3 kB / 1.221 GB, free: 8.324 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.225, allocations: 19.3 kB / 1.221 GB, free: 8.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/1.226, allocations: 45.67 kB / 1.222 GB, free: 8.266 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/1.226, allocations: 15.98 kB / 1.222 GB, free: 8.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/1.226, allocations: 19.98 kB / 1.222 GB, free: 8.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004533/1.226, allocations: 362.8 kB / 1.222 GB, free: 7.879 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/1.226, allocations: 4 kB / 1.222 GB, free: 7.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009609/1.227, allocations: 323.2 kB / 1.222 GB, free: 7.559 MB / 0.92 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.0005194/1.228, allocations: 195.7 kB / 1.222 GB, free: 7.367 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001172/1.229, allocations: 0.5516 MB / 1.223 GB, free: 6.816 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.229, allocations: 4 kB / 1.223 GB, free: 6.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/1.229, allocations: 183.7 kB / 1.223 GB, free: 6.633 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.231, allocations: 347.6 kB / 1.223 GB, free: 6.301 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/1.234, allocations: 1.524 MB / 1.225 GB, free: 4.723 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/1.234, allocations: 0.9334 MB / 1.226 GB, free: 3.762 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/1.234, allocations: 51.44 kB / 1.226 GB, free: 3.711 MB / 0.92 GB Notification: Performance of SimCode: time 1.262e-06/1.234, allocations: 0 / 1.226 GB, free: 3.711 MB / 0.92 GB Notification: Performance of Templates: time 0.01816/1.252, allocations: 9.677 MB / 1.235 GB, free: 10.13 MB / 0.9356 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=400 -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