Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_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.001745/0.001745, allocations: 101.6 kB / 16.27 MB, free: 5.949 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.001964/0.001964, allocations: 190.6 kB / 17.2 MB, free: 5.586 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.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 66.55 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3523, allocations: 159.1 MB / 1.065 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.9917/1.344, allocations: 183.2 MB / 1.244 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008898/1.353, allocations: 4.865 MB / 1.248 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/1.354, allocations: 31.81 kB / 1.248 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/1.356, allocations: 433.3 kB / 1.249 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004132/1.36, allocations: 1.409 MB / 1.25 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/1.362, allocations: 0.7821 MB / 1.251 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002971/1.365, allocations: 1.844 MB / 1.253 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/1.367, allocations: 0.5862 MB / 1.253 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/1.369, allocations: 0.8793 MB / 1.254 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/1.371, allocations: 0.5364 MB / 1.255 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/1.371, allocations: 56 kB / 1.255 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/1.375, allocations: 1.419 MB / 1.256 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/1.376, allocations: 263.2 kB / 1.256 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/1.376, allocations: 402.1 kB / 1.257 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/1.379, allocations: 1.402 MB / 1.258 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.379, allocations: 0 / 1.258 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.873e-06/1.379, allocations: 0 / 1.258 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.379, allocations: 0 / 1.258 GB, free: 2.656 MB / 0.9669 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.001967/1.381, allocations: 1.108 MB / 1.259 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.381, allocations: 8.031 kB / 1.259 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/1.383, allocations: 206.9 kB / 1.259 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009759/1.384, allocations: 0.5887 MB / 1.26 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/1.384, allocations: 37 kB / 1.26 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/1.384, allocations: 48 kB / 1.26 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/1.385, allocations: 498.3 kB / 1.261 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/1.385, allocations: 0 / 1.261 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/1.385, allocations: 20 kB / 1.261 GB, free: 68 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/1.385, allocations: 17 kB / 1.261 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/1.386, allocations: 439.7 kB / 1.261 GB, free: 15.62 MB / 0.9825 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.002909/1.389, allocations: 2.022 MB / 1.263 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/1.389, allocations: 347.5 kB / 1.263 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/1.39, allocations: 210.1 kB / 1.263 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/1.39, allocations: 190.5 kB / 1.264 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/1.39, allocations: 38.84 kB / 1.264 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/1.39, allocations: 0 / 1.264 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.001335/1.391, allocations: 0.5457 MB / 1.264 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.392, allocations: 67.28 kB / 1.264 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/1.392, allocations: 0.5068 MB / 1.265 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/1.392, allocations: 37.7 kB / 1.265 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/1.392, allocations: 300.2 kB / 1.265 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.393, allocations: 118.3 kB / 1.265 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/1.393, allocations: 62.03 kB / 1.265 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.393, allocations: 362.8 kB / 1.266 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/1.393, allocations: 150.1 kB / 1.266 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/1.394, allocations: 215.3 kB / 1.266 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/1.394, allocations: 340.3 kB / 1.266 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.394, allocations: 0 / 1.266 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007879/1.395, allocations: 436.5 kB / 1.267 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.395, allocations: 14.06 kB / 1.267 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.395, allocations: 4 kB / 1.267 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.395, allocations: 0 / 1.267 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.395, allocations: 71.89 kB / 1.267 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/1.395, allocations: 8.875 kB / 1.267 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/1.396, allocations: 42.98 kB / 1.267 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/1.396, allocations: 8 kB / 1.267 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004808/1.397, allocations: 308 kB / 1.267 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003387/1.397, allocations: 210.8 kB / 1.267 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005888/1.397, allocations: 331.4 kB / 1.268 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/1.397, allocations: 4 kB / 1.268 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007586/1.398, allocations: 420.5 kB / 1.268 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.398, allocations: 8 kB / 1.268 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/1.398, allocations: 0 / 1.268 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.398, allocations: 7.984 kB / 1.268 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/1.399, allocations: 75.94 kB / 1.268 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.399, allocations: 5.562 kB / 1.268 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/1.399, allocations: 31.77 kB / 1.268 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/1.399, allocations: 15.98 kB / 1.268 GB, free: 7.828 MB / 0.9825 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.0001789/1.399, allocations: 196.7 kB / 1.268 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.399, allocations: 55.34 kB / 1.268 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008585/1.4, allocations: 428.1 kB / 1.269 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.4, allocations: 4 kB / 1.269 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.4, allocations: 3.938 kB / 1.269 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006906/1.401, allocations: 444.3 kB / 1.269 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/1.403, allocations: 1.174 MB / 1.27 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.403, allocations: 4 kB / 1.27 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/1.403, allocations: 83.89 kB / 1.271 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/1.403, allocations: 4.188 kB / 1.271 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/1.403, allocations: 15.98 kB / 1.271 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.403, allocations: 4 kB / 1.271 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.403, allocations: 0 / 1.271 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.405, allocations: 0.7028 MB / 1.271 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/1.405, allocations: 176.3 kB / 1.271 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.788e-05/1.405, allocations: 12 kB / 1.271 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/1.405, allocations: 23.97 kB / 1.271 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/1.405, allocations: 29.09 kB / 1.271 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/1.406, allocations: 15.98 kB / 1.271 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004785/1.406, allocations: 362.8 kB / 1.272 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/1.406, allocations: 0 / 1.272 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000908/1.407, allocations: 323.2 kB / 1.272 GB, free: 3.641 MB / 0.9825 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.0004891/1.407, allocations: 202.8 kB / 1.272 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001137/1.409, allocations: 0.5463 MB / 1.273 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.409, allocations: 4 kB / 1.273 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/1.409, allocations: 179.7 kB / 1.273 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.411, allocations: 351.4 kB / 1.273 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/1.413, allocations: 1.305 MB / 1.275 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.413, allocations: 0.9256 MB / 1.276 GB, free: 68 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.414, allocations: 51.42 kB / 1.276 GB, free: 16 kB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/1.414, allocations: 0 / 1.276 GB, free: 16 kB / 0.9825 GB Notification: Performance of Templates: time 0.01857/1.432, allocations: 9.671 MB / 1.285 GB, free: 6.438 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches