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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001797/0.001797, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001981/0.001982, allocations: 193.4 kB / 16.14 MB, free: 6.719 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 69.06 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3849, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2039/0.5888, allocations: 181 MB / 1.244 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008797/0.5977, allocations: 4.927 MB / 1.249 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.599, allocations: 27.81 kB / 1.249 GB, free: 272 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.7108/1.31, allocations: 375.1 kB / 1.25 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005296/1.315, allocations: 1.323 MB / 1.251 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002614/1.318, allocations: 0.6998 MB / 1.251 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004972/1.323, allocations: 2.534 MB / 1.254 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/1.324, allocations: 0.5071 MB / 1.254 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/1.328, allocations: 0.7727 MB / 1.255 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/1.33, allocations: 0.5626 MB / 1.256 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/1.33, allocations: 35.34 kB / 1.256 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/1.334, allocations: 1.611 MB / 1.257 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004678/1.335, allocations: 237.1 kB / 1.258 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007696/1.336, allocations: 374.1 kB / 1.258 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003774/1.339, allocations: 1.46 MB / 1.259 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/1.339, allocations: 2.625 kB / 1.259 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/1.339, allocations: 0 / 1.259 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.285e-05/1.339, allocations: 0 / 1.259 GB, free: 5.535 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.002587/1.342, allocations: 1.101 MB / 1.26 GB, free: 20.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.342, allocations: 11.25 kB / 1.26 GB, free: 20.87 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/1.344, allocations: 210.7 kB / 1.261 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.345, allocations: 0.5785 MB / 1.261 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/1.345, allocations: 42.09 kB / 1.261 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.076e-05/1.345, allocations: 51.16 kB / 1.261 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/1.346, allocations: 497.5 kB / 1.262 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/1.346, allocations: 4.453 kB / 1.262 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/1.346, allocations: 25.06 kB / 1.262 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/1.346, allocations: 18.78 kB / 1.262 GB, free: 20.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/1.347, allocations: 436.2 kB / 1.262 GB, free: 20.5 MB / 1.014 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.002886/1.35, allocations: 2.007 MB / 1.264 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/1.35, allocations: 344.5 kB / 1.265 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/1.351, allocations: 215.1 kB / 1.265 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/1.351, allocations: 190.9 kB / 1.265 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.351, allocations: 37.52 kB / 1.265 GB, free: 19.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 3.887e-06/1.351, allocations: 2.297 kB / 1.265 GB, free: 19.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001345/1.352, allocations: 0.5441 MB / 1.265 GB, free: 19.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/1.353, allocations: 59.16 kB / 1.266 GB, free: 19.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/1.353, allocations: 0.5081 MB / 1.266 GB, free: 18.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/1.353, allocations: 33.17 kB / 1.266 GB, free: 18.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/1.353, allocations: 303.8 kB / 1.266 GB, free: 18.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/1.354, allocations: 116.2 kB / 1.266 GB, free: 18.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/1.354, allocations: 74.09 kB / 1.267 GB, free: 18.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.354, allocations: 362.6 kB / 1.267 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/1.354, allocations: 141.4 kB / 1.267 GB, free: 18.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/1.355, allocations: 223.1 kB / 1.267 GB, free: 18.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/1.355, allocations: 334.1 kB / 1.268 GB, free: 18.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.355, allocations: 0 / 1.268 GB, free: 18.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007645/1.356, allocations: 439.1 kB / 1.268 GB, free: 18.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.356, allocations: 6.656 kB / 1.268 GB, free: 18.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/1.356, allocations: 5.344 kB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.356, allocations: 2.625 kB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/1.356, allocations: 70.91 kB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.356, allocations: 6.766 kB / 1.268 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/1.357, allocations: 63.47 kB / 1.268 GB, free: 18.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/1.357, allocations: 13.75 kB / 1.268 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005679/1.358, allocations: 310.8 kB / 1.268 GB, free: 18.11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003655/1.358, allocations: 207.6 kB / 1.269 GB, free: 18.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006005/1.359, allocations: 332.8 kB / 1.269 GB, free: 18.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/1.359, allocations: 0 / 1.269 GB, free: 18.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007846/1.359, allocations: 433.4 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.359, allocations: 5.062 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/1.359, allocations: 2.125 kB / 1.269 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/1.359, allocations: 6.438 kB / 1.269 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/1.36, allocations: 79.64 kB / 1.269 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.36, allocations: 3.172 kB / 1.269 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/1.36, allocations: 60.41 kB / 1.27 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/1.361, allocations: 15.06 kB / 1.27 GB, free: 17.91 MB / 1.014 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.0001783/1.361, allocations: 194.8 kB / 1.27 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.361, allocations: 61.92 kB / 1.27 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008446/1.362, allocations: 421.9 kB / 1.27 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.362, allocations: 7.312 kB / 1.27 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.362, allocations: 1.125 kB / 1.27 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006429/1.362, allocations: 440.9 kB / 1.271 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/1.364, allocations: 1.172 MB / 1.272 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.364, allocations: 1.562 kB / 1.272 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/1.365, allocations: 84.78 kB / 1.272 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/1.365, allocations: 3.125 kB / 1.272 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/1.365, allocations: 12.53 kB / 1.272 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.365, allocations: 4.891 kB / 1.272 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.365, allocations: 5.406 kB / 1.272 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/1.366, allocations: 0.6944 MB / 1.273 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/1.366, allocations: 183.2 kB / 1.273 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/1.366, allocations: 7.594 kB / 1.273 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/1.367, allocations: 45.56 kB / 1.273 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/1.367, allocations: 30.62 kB / 1.273 GB, free: 16.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/1.367, allocations: 15.55 kB / 1.273 GB, free: 16.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006013/1.368, allocations: 367 kB / 1.273 GB, free: 16.67 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.368, allocations: 0.5312 kB / 1.273 GB, free: 16.67 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001199/1.369, allocations: 329.4 kB / 1.273 GB, free: 16.62 MB / 1.014 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.0004626/1.369, allocations: 187.8 kB / 1.274 GB, free: 16.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.37, allocations: 0.5146 MB / 1.274 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.371, allocations: 1.281 kB / 1.274 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/1.371, allocations: 183.4 kB / 1.274 GB, free: 16.51 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.373, allocations: 365.8 kB / 1.275 GB, free: 16.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/1.375, allocations: 1.485 MB / 1.276 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/1.375, allocations: 0.9286 MB / 1.277 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000781/1.376, allocations: 183.6 kB / 1.277 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/1.376, allocations: 50.81 kB / 1.277 GB, free: 14.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.283e-06/1.376, allocations: 4 kB / 1.277 GB, free: 14.91 MB / 1.014 GB Notification: Performance of Templates: time 0.02435/1.401, allocations: 11.33 MB / 1.288 GB, free: 14.24 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches