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.005611/0.005611, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001124/0.001124, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.4 MB, free: 4.312 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.704/2.704, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.371, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.083/1.454, allocations: 183.3 MB / 1.346 GB, free: 7.988 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009893/1.464, allocations: 4.86 MB / 1.35 GB, free: 4.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/1.466, allocations: 30.53 kB / 1.35 GB, free: 4.559 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/1.468, allocations: 441.6 kB / 1.351 GB, free: 4.301 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006134/1.474, allocations: 1.4 MB / 1.352 GB, free: 3.539 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/1.477, allocations: 0.7893 MB / 1.353 GB, free: 3.133 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004554/1.482, allocations: 1.849 MB / 1.355 GB, free: 2.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.483, allocations: 0.5976 MB / 1.355 GB, free: 2.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/1.487, allocations: 0.8704 MB / 1.356 GB, free: 1.621 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/1.489, allocations: 0.5368 MB / 1.357 GB, free: 1.391 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00019/1.489, allocations: 58.78 kB / 1.357 GB, free: 1.391 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/1.493, allocations: 1.413 MB / 1.358 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004146/1.493, allocations: 273.2 kB / 1.358 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000765/1.494, allocations: 398.4 kB / 1.359 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003944/1.498, allocations: 1.424 MB / 1.36 GB, free: 0 / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.498, allocations: 0 / 1.36 GB, free: 0 / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/1.498, allocations: 0 / 1.36 GB, free: 0 / 1.029 GB Notification: Performance of Transformations before backend: time 1.593e-05/1.498, allocations: 4.047 kB / 1.36 GB, free: 15.99 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.002289/1.501, allocations: 1.124 MB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.501, allocations: 9.594 kB / 1.361 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/1.502, allocations: 212.7 kB / 1.361 GB, free: 15.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/1.503, allocations: 0.6287 MB / 1.362 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/1.503, allocations: 31.84 kB / 1.362 GB, free: 14.69 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/1.503, allocations: 48.47 kB / 1.362 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/1.504, allocations: 0.4921 MB / 1.363 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/1.504, allocations: 0 / 1.363 GB, free: 14.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/1.504, allocations: 17.44 kB / 1.363 GB, free: 14.47 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/1.505, allocations: 16.31 kB / 1.363 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/1.505, allocations: 443 kB / 1.363 GB, free: 14.33 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.003008/1.508, allocations: 2.01 MB / 1.365 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/1.509, allocations: 354.2 kB / 1.365 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/1.509, allocations: 211.4 kB / 1.366 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/1.51, allocations: 195.5 kB / 1.366 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.51, allocations: 37.09 kB / 1.366 GB, free: 12.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/1.51, allocations: 1.156 kB / 1.366 GB, free: 12.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.001399/1.511, allocations: 0.5452 MB / 1.366 GB, free: 11.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.511, allocations: 58.81 kB / 1.366 GB, free: 11.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/1.512, allocations: 0.5093 MB / 1.367 GB, free: 11.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/1.512, allocations: 34.83 kB / 1.367 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/1.512, allocations: 305.1 kB / 1.367 GB, free: 11.14 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/1.512, allocations: 121.8 kB / 1.367 GB, free: 11.03 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.512, allocations: 71.67 kB / 1.367 GB, free: 10.98 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.513, allocations: 368.3 kB / 1.368 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/1.513, allocations: 141.8 kB / 1.368 GB, free: 10.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/1.513, allocations: 220.6 kB / 1.368 GB, free: 10.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/1.514, allocations: 336.5 kB / 1.368 GB, free: 10.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.514, allocations: 0 / 1.368 GB, free: 10.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007212/1.515, allocations: 434.8 kB / 1.369 GB, free: 9.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.515, allocations: 5.125 kB / 1.369 GB, free: 9.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.515, allocations: 7.031 kB / 1.369 GB, free: 9.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.515, allocations: 3.984 kB / 1.369 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/1.515, allocations: 75.7 kB / 1.369 GB, free: 9.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.515, allocations: 8.609 kB / 1.369 GB, free: 9.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/1.516, allocations: 35.39 kB / 1.369 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/1.516, allocations: 14.28 kB / 1.369 GB, free: 9.934 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004848/1.516, allocations: 307.6 kB / 1.369 GB, free: 9.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003264/1.516, allocations: 213.9 kB / 1.369 GB, free: 9.586 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005436/1.517, allocations: 333.5 kB / 1.37 GB, free: 9.398 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/1.517, allocations: 5.531 kB / 1.37 GB, free: 9.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007329/1.518, allocations: 427 kB / 1.37 GB, free: 9.172 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.518, allocations: 5.5 kB / 1.37 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/1.518, allocations: 1.375 kB / 1.37 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/1.518, allocations: 6.734 kB / 1.37 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/1.518, allocations: 70.03 kB / 1.37 GB, free: 9.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.518, allocations: 6.969 kB / 1.37 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/1.519, allocations: 35.53 kB / 1.37 GB, free: 9.125 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/1.519, allocations: 12.73 kB / 1.37 GB, free: 9.121 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.0001708/1.519, allocations: 200.5 kB / 1.371 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.519, allocations: 62.03 kB / 1.371 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/1.52, allocations: 427.9 kB / 1.371 GB, free: 8.648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.52, allocations: 3.562 kB / 1.371 GB, free: 8.648 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.52, allocations: 3.938 kB / 1.371 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006246/1.52, allocations: 430.9 kB / 1.371 GB, free: 8.352 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/1.522, allocations: 1.173 MB / 1.373 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.522, allocations: 0 / 1.373 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/1.523, allocations: 80.92 kB / 1.373 GB, free: 7.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/1.523, allocations: 6.734 kB / 1.373 GB, free: 7.461 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/1.523, allocations: 9.062 kB / 1.373 GB, free: 7.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.523, allocations: 6.906 kB / 1.373 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.523, allocations: 2.938 kB / 1.373 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/1.524, allocations: 0.7166 MB / 1.373 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/1.524, allocations: 176.7 kB / 1.374 GB, free: 6.82 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/1.524, allocations: 13.3 kB / 1.374 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/1.525, allocations: 18.67 kB / 1.374 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/1.525, allocations: 29.28 kB / 1.374 GB, free: 6.789 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/1.525, allocations: 15.86 kB / 1.374 GB, free: 6.781 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004221/1.525, allocations: 365.9 kB / 1.374 GB, free: 6.566 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/1.525, allocations: 0 / 1.374 GB, free: 6.566 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009212/1.526, allocations: 334.6 kB / 1.374 GB, free: 6.496 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.0004658/1.527, allocations: 195.4 kB / 1.374 GB, free: 6.359 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009744/1.528, allocations: 0.5295 MB / 1.375 GB, free: 6.113 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.528, allocations: 0 / 1.375 GB, free: 6.113 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/1.528, allocations: 182.9 kB / 1.375 GB, free: 6.031 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.529, allocations: 355.1 kB / 1.375 GB, free: 5.848 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/1.532, allocations: 1.259 MB / 1.377 GB, free: 4.988 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/1.532, allocations: 0.9368 MB / 1.378 GB, free: 4.172 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0006632/1.533, allocations: 180.9 kB / 1.378 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.533, allocations: 45.53 kB / 1.378 GB, free: 4.086 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/1.533, allocations: 4 kB / 1.378 GB, free: 4.082 MB / 1.045 GB Notification: Performance of Templates: time 0.022/1.555, allocations: 11.75 MB / 1.389 GB, free: 14.34 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