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.001635/0.001635, allocations: 106.6 kB / 16.27 MB, free: 6.414 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.001794/0.001794, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.632/2.632, allocations: 437.1 MB / 0.7111 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.002, allocations: 71.94 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8649/1.222, allocations: 183.3 MB / 1.197 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009518/1.232, allocations: 4.856 MB / 1.202 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/1.234, allocations: 31.53 kB / 1.202 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001867/1.236, allocations: 447.3 kB / 1.202 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/1.242, allocations: 1.404 MB / 1.204 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/1.245, allocations: 0.7715 MB / 1.204 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003773/1.249, allocations: 1.85 MB / 1.206 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/1.25, allocations: 0.5889 MB / 1.207 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/1.253, allocations: 0.875 MB / 1.207 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/1.255, allocations: 0.5376 MB / 1.208 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/1.255, allocations: 57.56 kB / 1.208 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004332/1.259, allocations: 1.416 MB / 1.209 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005218/1.26, allocations: 261.9 kB / 1.21 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008521/1.261, allocations: 407 kB / 1.21 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/1.265, allocations: 1.395 MB / 1.211 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.265, allocations: 0 / 1.211 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-06/1.265, allocations: 2.031 kB / 1.211 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.374e-05/1.265, allocations: 0 / 1.211 GB, free: 0.668 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.002725/1.267, allocations: 1.105 MB / 1.213 GB, free: 15.78 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.267, allocations: 7.344 kB / 1.213 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/1.27, allocations: 208.1 kB / 1.213 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.271, allocations: 0.5879 MB / 1.213 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/1.271, allocations: 37.44 kB / 1.213 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.271, allocations: 46.28 kB / 1.213 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/1.273, allocations: 0.4902 MB / 1.214 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.273, allocations: 0 / 1.214 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/1.273, allocations: 21.09 kB / 1.214 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/1.273, allocations: 15.97 kB / 1.214 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.274, allocations: 442.2 kB / 1.214 GB, free: 14.66 MB / 0.92 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.004184/1.278, allocations: 2.027 MB / 1.216 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/1.279, allocations: 356.2 kB / 1.217 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/1.28, allocations: 206.8 kB / 1.217 GB, free: 12.63 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/1.28, allocations: 187.6 kB / 1.217 GB, free: 12.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/1.28, allocations: 38.38 kB / 1.217 GB, free: 12.39 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 3.417e-06/1.28, allocations: 0 / 1.217 GB, free: 12.39 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001886/1.282, allocations: 0.5471 MB / 1.218 GB, free: 12.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/1.282, allocations: 60.64 kB / 1.218 GB, free: 12.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008765/1.283, allocations: 0.5033 MB / 1.218 GB, free: 11.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/1.283, allocations: 36.11 kB / 1.218 GB, free: 11.71 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/1.284, allocations: 307.3 kB / 1.218 GB, free: 11.43 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/1.284, allocations: 121.5 kB / 1.219 GB, free: 11.33 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.284, allocations: 68.03 kB / 1.219 GB, free: 11.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002387/1.284, allocations: 367 kB / 1.219 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/1.285, allocations: 145.8 kB / 1.219 GB, free: 10.85 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005131/1.285, allocations: 219.2 kB / 1.219 GB, free: 10.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008493/1.286, allocations: 337 kB / 1.22 GB, free: 10.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.286, allocations: 4 kB / 1.22 GB, free: 10.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001288/1.287, allocations: 428.6 kB / 1.22 GB, free: 10.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.287, allocations: 4 kB / 1.22 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.287, allocations: 4 kB / 1.22 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.287, allocations: 3.938 kB / 1.22 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/1.288, allocations: 67.91 kB / 1.22 GB, free: 9.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/1.288, allocations: 11.92 kB / 1.22 GB, free: 9.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/1.288, allocations: 43.77 kB / 1.22 GB, free: 9.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/1.288, allocations: 8 kB / 1.22 GB, free: 9.934 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000504/1.289, allocations: 310.4 kB / 1.221 GB, free: 9.629 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003426/1.289, allocations: 207.4 kB / 1.221 GB, free: 9.402 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005993/1.29, allocations: 343.2 kB / 1.221 GB, free: 9.055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/1.29, allocations: 0 / 1.221 GB, free: 9.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007779/1.291, allocations: 416.7 kB / 1.221 GB, free: 8.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/1.291, allocations: 8 kB / 1.221 GB, free: 8.633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-06/1.291, allocations: 0 / 1.221 GB, free: 8.633 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/1.291, allocations: 4 kB / 1.221 GB, free: 8.629 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/1.291, allocations: 75.83 kB / 1.222 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/1.291, allocations: 4 kB / 1.222 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/1.292, allocations: 35.67 kB / 1.222 GB, free: 8.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/1.292, allocations: 15.98 kB / 1.222 GB, free: 8.5 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.0001838/1.292, allocations: 200.3 kB / 1.222 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.292, allocations: 59.33 kB / 1.222 GB, free: 8.238 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/1.293, allocations: 419 kB / 1.222 GB, free: 7.82 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.293, allocations: 4 kB / 1.222 GB, free: 7.816 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.293, allocations: 3.938 kB / 1.222 GB, free: 7.812 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006742/1.293, allocations: 440.2 kB / 1.223 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/1.296, allocations: 1.175 MB / 1.224 GB, free: 6.102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.296, allocations: 4 kB / 1.224 GB, free: 6.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/1.296, allocations: 83.89 kB / 1.224 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.296, allocations: 7.938 kB / 1.224 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/1.296, allocations: 15.92 kB / 1.224 GB, free: 5.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.296, allocations: 4 kB / 1.224 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.296, allocations: 0 / 1.224 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/1.297, allocations: 0.7033 MB / 1.225 GB, free: 5.25 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/1.298, allocations: 180.4 kB / 1.225 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/1.298, allocations: 12 kB / 1.225 GB, free: 5.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/1.298, allocations: 23.97 kB / 1.225 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/1.298, allocations: 24.06 kB / 1.225 GB, free: 4.996 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/1.298, allocations: 12 kB / 1.225 GB, free: 4.984 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004623/1.299, allocations: 362.8 kB / 1.225 GB, free: 4.633 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.21e-07/1.299, allocations: 4 kB / 1.225 GB, free: 4.629 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009662/1.3, allocations: 331.1 kB / 1.226 GB, free: 4.305 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.0004923/1.3, allocations: 190.6 kB / 1.226 GB, free: 4.121 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001187/1.301, allocations: 0.5503 MB / 1.226 GB, free: 3.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.301, allocations: 384 / 1.226 GB, free: 3.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/1.302, allocations: 183.7 kB / 1.226 GB, free: 3.391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.303, allocations: 353.7 kB / 1.227 GB, free: 3.055 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/1.306, allocations: 1.309 MB / 1.228 GB, free: 1.691 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/1.306, allocations: 0.9295 MB / 1.229 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/1.307, allocations: 55.42 kB / 1.229 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of SimCode: time 6.91e-07/1.307, allocations: 0 / 1.229 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of Templates: time 0.0192/1.326, allocations: 9.656 MB / 1.238 GB, free: 7.117 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