Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_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.001078/0.001078, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006227/0.0006227, allocations: 10.25 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3403, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1988/0.5392, allocations: 178.6 MB / 1.234 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007598/0.5468, allocations: 4.877 MB / 1.239 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.5477, allocations: 27.81 kB / 1.239 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.5488, allocations: 374 kB / 1.239 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.5521, allocations: 1.326 MB / 1.24 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.5539, allocations: 0.7037 MB / 1.241 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002751/0.5567, allocations: 2.527 MB / 1.243 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007202/0.5574, allocations: 0.4899 MB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.5591, allocations: 0.7662 MB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.5603, allocations: 0.5425 MB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.5604, allocations: 24 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.5632, allocations: 1.605 MB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.5634, allocations: 227.2 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.5639, allocations: 387.8 kB / 1.247 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.5652, allocations: 1.021 MB / 1.248 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5652, allocations: 0 / 1.248 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5652, allocations: 0 / 1.248 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5652, allocations: 0 / 1.248 GB, free: 2.77 MB / 0.9981 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.001587/0.5668, allocations: 0.9656 MB / 1.249 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5668, allocations: 8.031 kB / 1.249 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.5682, allocations: 214.8 kB / 1.249 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008548/0.569, allocations: 0.5809 MB / 1.25 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.5691, allocations: 37 kB / 1.25 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.116e-05/0.5692, allocations: 48 kB / 1.25 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/0.5701, allocations: 498.3 kB / 1.251 GB, free: 340 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5701, allocations: 4 kB / 1.251 GB, free: 336 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.5701, allocations: 27.98 kB / 1.251 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.5702, allocations: 13 kB / 1.251 GB, free: 296 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6466/1.217, allocations: 447.5 kB / 1.251 GB, free: 11 MB / 0.9981 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.003168/1.22, allocations: 2.013 MB / 1.253 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/1.221, allocations: 349.8 kB / 1.253 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/1.221, allocations: 223.3 kB / 1.254 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/1.221, allocations: 191.6 kB / 1.254 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.221, allocations: 40 kB / 1.254 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/1.221, allocations: 0 / 1.254 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001286/1.223, allocations: 0.5537 MB / 1.254 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/1.223, allocations: 61.03 kB / 1.254 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/1.223, allocations: 0.5057 MB / 1.255 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/1.223, allocations: 39.98 kB / 1.255 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/1.224, allocations: 301.2 kB / 1.255 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/1.224, allocations: 116.7 kB / 1.255 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/1.224, allocations: 32.94 kB / 1.255 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/1.224, allocations: 364.5 kB / 1.256 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/1.224, allocations: 148.3 kB / 1.256 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/1.225, allocations: 215 kB / 1.256 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/1.225, allocations: 350.3 kB / 1.256 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.225, allocations: 0 / 1.256 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006604/1.226, allocations: 447.2 kB / 1.257 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/1.226, allocations: 119.4 kB / 1.257 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.226, allocations: 7.938 kB / 1.257 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.226, allocations: 6.125 kB / 1.257 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/1.226, allocations: 67.95 kB / 1.257 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/1.226, allocations: 2.656 kB / 1.257 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/1.227, allocations: 76.2 kB / 1.257 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/1.227, allocations: 8.156 kB / 1.257 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/1.227, allocations: 6.625 kB / 1.257 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005642/1.227, allocations: 355.6 kB / 1.257 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/1.227, allocations: 0 / 1.257 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/1.227, allocations: 2.875 kB / 1.257 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/1.228, allocations: 77.19 kB / 1.257 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/1.228, allocations: 3.094 kB / 1.257 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/1.228, allocations: 66.61 kB / 1.258 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/1.228, allocations: 16.66 kB / 1.258 GB, free: 8.652 MB / 0.9981 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.0002393/1.228, allocations: 291.9 kB / 1.258 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/1.229, allocations: 59.5 kB / 1.258 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/1.229, allocations: 433.1 kB / 1.258 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.229, allocations: 2.781 kB / 1.258 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.229, allocations: 3.938 kB / 1.258 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005356/1.23, allocations: 445.2 kB / 1.259 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/1.231, allocations: 1.193 MB / 1.26 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.231, allocations: 3.156 kB / 1.26 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.232, allocations: 80.27 kB / 1.26 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/1.232, allocations: 5.156 kB / 1.26 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/1.232, allocations: 11.05 kB / 1.26 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.232, allocations: 3.375 kB / 1.26 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.232, allocations: 6.984 kB / 1.26 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/1.233, allocations: 0.7152 MB / 1.261 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/1.233, allocations: 183.1 kB / 1.261 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/1.233, allocations: 10.17 kB / 1.261 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/1.234, allocations: 52.09 kB / 1.261 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/1.234, allocations: 20.06 kB / 1.261 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/1.234, allocations: 13.64 kB / 1.261 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000393/1.234, allocations: 373.6 kB / 1.261 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.262e-06/1.234, allocations: 2.531 kB / 1.261 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008034/1.235, allocations: 326.7 kB / 1.262 GB, free: 7.352 MB / 0.9981 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.0004151/1.235, allocations: 199.3 kB / 1.262 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009451/1.236, allocations: 0.5307 MB / 1.262 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.236, allocations: 0 / 1.262 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/1.237, allocations: 188.5 kB / 1.263 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/1.239, allocations: 373.3 kB / 1.263 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/1.241, allocations: 1.599 MB / 1.264 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/1.241, allocations: 0.9313 MB / 1.265 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.241, allocations: 48.81 kB / 1.265 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of SimCode: time 1.683e-06/1.241, allocations: 0 / 1.265 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of Templates: time 0.02094/1.262, allocations: 9.674 MB / 1.275 GB, free: 4.914 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches