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.008646/0.008646, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001656/0.001657, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.692/2.692, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.12 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3563, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.131/1.487, allocations: 183.3 MB / 1.346 GB, free: 7.965 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009726/1.497, allocations: 4.863 MB / 1.35 GB, free: 4.539 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/1.499, allocations: 29.66 kB / 1.35 GB, free: 4.527 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/1.501, allocations: 459.2 kB / 1.351 GB, free: 4.262 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00661/1.507, allocations: 1.46 MB / 1.352 GB, free: 3.469 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/1.51, allocations: 0.7793 MB / 1.353 GB, free: 3.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003524/1.514, allocations: 1.851 MB / 1.355 GB, free: 2.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/1.515, allocations: 0.598 MB / 1.355 GB, free: 1.953 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/1.518, allocations: 0.9001 MB / 1.356 GB, free: 1.539 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/1.519, allocations: 0.5386 MB / 1.357 GB, free: 1.305 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/1.519, allocations: 59.22 kB / 1.357 GB, free: 1.305 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/1.523, allocations: 1.42 MB / 1.358 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/1.523, allocations: 268.2 kB / 1.358 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/1.524, allocations: 398 kB / 1.359 GB, free: 436 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003288/1.527, allocations: 1.428 MB / 1.36 GB, free: 15.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.527, allocations: 1.156 kB / 1.36 GB, free: 15.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/1.527, allocations: 0 / 1.36 GB, free: 15.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.527, allocations: 4 kB / 1.36 GB, free: 15.9 MB / 1.045 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.002061/1.529, allocations: 1.118 MB / 1.361 GB, free: 15.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.529, allocations: 12.66 kB / 1.361 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/1.531, allocations: 210.2 kB / 1.362 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.532, allocations: 0.6267 MB / 1.362 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/1.532, allocations: 36.09 kB / 1.362 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/1.532, allocations: 52.48 kB / 1.362 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/1.533, allocations: 498.6 kB / 1.363 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/1.533, allocations: 0 / 1.363 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/1.533, allocations: 16.5 kB / 1.363 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/1.533, allocations: 18.34 kB / 1.363 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008381/1.534, allocations: 443.2 kB / 1.363 GB, free: 14.25 MB / 1.045 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.002995/1.537, allocations: 2.016 MB / 1.365 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/1.537, allocations: 347.3 kB / 1.365 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/1.538, allocations: 207.6 kB / 1.366 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/1.538, allocations: 196.5 kB / 1.366 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.538, allocations: 33.69 kB / 1.366 GB, free: 12.01 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/1.538, allocations: 0 / 1.366 GB, free: 12.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.001386/1.54, allocations: 0.5491 MB / 1.366 GB, free: 11.73 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.54, allocations: 58.66 kB / 1.366 GB, free: 11.66 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/1.54, allocations: 0.509 MB / 1.367 GB, free: 11.35 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/1.54, allocations: 36.73 kB / 1.367 GB, free: 11.31 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/1.541, allocations: 308.5 kB / 1.367 GB, free: 11.04 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.541, allocations: 121 kB / 1.367 GB, free: 10.94 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.541, allocations: 75.56 kB / 1.367 GB, free: 10.89 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.541, allocations: 364.2 kB / 1.368 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/1.541, allocations: 141.7 kB / 1.368 GB, free: 10.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/1.542, allocations: 212.8 kB / 1.368 GB, free: 10.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/1.542, allocations: 348.8 kB / 1.369 GB, free: 10.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.542, allocations: 0 / 1.369 GB, free: 10.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007367/1.543, allocations: 429.7 kB / 1.369 GB, free: 9.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.543, allocations: 5.406 kB / 1.369 GB, free: 9.898 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.543, allocations: 5.812 kB / 1.369 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.543, allocations: 5.781 kB / 1.369 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/1.543, allocations: 72.81 kB / 1.369 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.543, allocations: 7.766 kB / 1.369 GB, free: 9.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/1.544, allocations: 40.03 kB / 1.369 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/1.544, allocations: 12.94 kB / 1.369 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004763/1.545, allocations: 308.3 kB / 1.369 GB, free: 9.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003289/1.545, allocations: 214.4 kB / 1.37 GB, free: 9.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005485/1.545, allocations: 332.5 kB / 1.37 GB, free: 9.305 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/1.545, allocations: 5.234 kB / 1.37 GB, free: 9.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007452/1.546, allocations: 419.7 kB / 1.37 GB, free: 9.086 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.546, allocations: 5.312 kB / 1.37 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/1.546, allocations: 1.438 kB / 1.37 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.319e-06/1.546, allocations: 3.5 kB / 1.37 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/1.547, allocations: 69.78 kB / 1.37 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.547, allocations: 10.69 kB / 1.37 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/1.547, allocations: 35.17 kB / 1.37 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/1.547, allocations: 13.12 kB / 1.37 GB, free: 9.035 MB / 1.045 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.0001744/1.547, allocations: 198 kB / 1.371 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/1.547, allocations: 61.97 kB / 1.371 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007994/1.548, allocations: 424 kB / 1.371 GB, free: 8.566 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.548, allocations: 2.75 kB / 1.371 GB, free: 8.566 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.548, allocations: 5.312 kB / 1.371 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006322/1.549, allocations: 429.1 kB / 1.371 GB, free: 8.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/1.551, allocations: 1.177 MB / 1.373 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.551, allocations: 0 / 1.373 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/1.551, allocations: 84.61 kB / 1.373 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.551, allocations: 5.531 kB / 1.373 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.551, allocations: 6.375 kB / 1.373 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.551, allocations: 6.719 kB / 1.373 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.551, allocations: 2.25 kB / 1.373 GB, free: 7.367 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/1.552, allocations: 0.7218 MB / 1.373 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/1.552, allocations: 185.4 kB / 1.374 GB, free: 6.723 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/1.553, allocations: 6.344 kB / 1.374 GB, free: 6.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/1.553, allocations: 24.44 kB / 1.374 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/1.553, allocations: 28.66 kB / 1.374 GB, free: 6.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/1.553, allocations: 14 kB / 1.374 GB, free: 6.688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004083/1.554, allocations: 362.5 kB / 1.374 GB, free: 6.477 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.554, allocations: 0 / 1.374 GB, free: 6.477 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009021/1.554, allocations: 329.7 kB / 1.374 GB, free: 6.41 MB / 1.045 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.0004452/1.555, allocations: 199.6 kB / 1.375 GB, free: 6.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009635/1.556, allocations: 0.5225 MB / 1.375 GB, free: 6.031 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.556, allocations: 2.781 kB / 1.375 GB, free: 6.031 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/1.556, allocations: 178.1 kB / 1.375 GB, free: 5.953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.558, allocations: 359.9 kB / 1.376 GB, free: 5.766 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/1.56, allocations: 1.266 MB / 1.377 GB, free: 4.902 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/1.56, allocations: 0.9326 MB / 1.378 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005683/1.561, allocations: 178.8 kB / 1.378 GB, free: 4.012 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.561, allocations: 51.55 kB / 1.378 GB, free: 4 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/1.561, allocations: 4 kB / 1.378 GB, free: 3.996 MB / 1.045 GB Notification: Performance of Templates: time 0.02073/1.582, allocations: 11.76 MB / 1.389 GB, free: 14.24 MB / 1.061 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches