Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001108/0.001108, allocations: 188.3 kB / 17.34 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.11 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7983, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03544/0.8338, allocations: 33.2 MB / 1.241 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.8517, allocations: 12.3 MB / 1.253 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.8538, allocations: 51.75 kB / 1.253 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.8584, allocations: 1.54 MB / 1.254 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004962/0.8634, allocations: 1.734 MB / 1.256 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.8672, allocations: 1.503 MB / 1.258 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.8782, allocations: 7.793 MB / 1.265 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/0.8817, allocations: 2.106 MB / 1.267 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004511/0.8863, allocations: 1.954 MB / 1.269 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.8889, allocations: 1.443 MB / 1.271 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005918/0.8895, allocations: 148 kB / 1.271 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.8928, allocations: 1.346 MB / 1.272 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000844/0.8937, allocations: 0.5956 MB / 1.273 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.8956, allocations: 1.201 MB / 1.274 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.9012, allocations: 3.54 MB / 1.277 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9013, allocations: 0 / 1.277 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9013, allocations: 0 / 1.277 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.486e-05/0.9014, allocations: 0 / 1.277 GB, free: 6.953 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005063/0.9064, allocations: 2.811 MB / 1.28 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.9065, allocations: 12.03 kB / 1.28 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.9085, allocations: 432.6 kB / 1.28 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/0.9134, allocations: 2.755 MB / 1.283 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/0.9135, allocations: 85.98 kB / 1.283 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.9137, allocations: 108 kB / 1.283 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.9161, allocations: 1.316 MB / 1.285 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.9161, allocations: 7.938 kB / 1.285 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.9162, allocations: 44 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.9162, allocations: 24 kB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.9183, allocations: 1.026 MB / 1.286 GB, free: 14.11 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.009396/0.9277, allocations: 6.906 MB / 1.292 GB, free: 6.773 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.9292, allocations: 0.59 MB / 1.293 GB, free: 6.176 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.93, allocations: 389.9 kB / 1.293 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00321/0.9333, allocations: 1.767 MB / 1.295 GB, free: 3.887 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008355/0.9341, allocations: 367 kB / 1.295 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007605/0.9349, allocations: 91.17 kB / 1.295 GB, free: 3.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 4.298e-06/0.9349, allocations: 0 / 1.295 GB, free: 3.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.003788/0.9387, allocations: 1.367 MB / 1.297 GB, free: 2.027 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.9388, allocations: 63.33 kB / 1.297 GB, free: 1.953 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/0.9425, allocations: 2.384 MB / 1.299 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.9427, allocations: 41.7 kB / 1.299 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009174/0.9436, allocations: 0.9919 MB / 1.3 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.9438, allocations: 161.8 kB / 1.3 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/0.9442, allocations: 294.6 kB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9444, allocations: 361.9 kB / 1.301 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009521/0.9453, allocations: 0.494 MB / 1.301 GB, free: 13.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.9467, allocations: 0.997 MB / 1.302 GB, free: 11.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.9487, allocations: 1.335 MB / 1.304 GB, free: 10.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.9488, allocations: 4 kB / 1.304 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.00367/0.9524, allocations: 1.799 MB / 1.305 GB, free: 8.668 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.9525, allocations: 37.64 kB / 1.306 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.9526, allocations: 12 kB / 1.306 GB, free: 8.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.9532, allocations: 195 kB / 1.306 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.9541, allocations: 223.6 kB / 1.306 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007238/0.9549, allocations: 0.7668 MB / 1.307 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.9563, allocations: 71.95 kB / 1.307 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.9564, allocations: 55.98 kB / 1.307 GB, free: 7.285 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001789/0.9582, allocations: 1.025 MB / 1.308 GB, free: 6.254 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001211/0.9594, allocations: 0.9659 MB / 1.309 GB, free: 5.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001827/0.9613, allocations: 1.307 MB / 1.31 GB, free: 3.602 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.063e-05/0.9613, allocations: 4 kB / 1.31 GB, free: 3.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.00332/0.9646, allocations: 1.793 MB / 1.312 GB, free: 1.762 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.9647, allocations: 45.69 kB / 1.312 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.9647, allocations: 12 kB / 1.312 GB, free: 1.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.965, allocations: 124.7 kB / 1.312 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.9658, allocations: 227.6 kB / 1.312 GB, free: 1.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.9681, allocations: 2.322 MB / 1.314 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.9697, allocations: 83.8 kB / 1.315 GB, free: 14.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.9699, allocations: 60.05 kB / 1.315 GB, free: 14.75 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003998/0.9703, allocations: 252 kB / 1.315 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/0.9709, allocations: 213.2 kB / 1.315 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.9734, allocations: 1.029 MB / 1.316 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.9735, allocations: 4 kB / 1.316 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9735, allocations: 4 kB / 1.316 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001631/0.9751, allocations: 0.9623 MB / 1.317 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/0.9798, allocations: 2.315 MB / 1.319 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9799, allocations: 3.938 kB / 1.319 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.9804, allocations: 88.03 kB / 1.319 GB, free: 9.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/0.9807, allocations: 127.6 kB / 1.319 GB, free: 9.602 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.9808, allocations: 20.05 kB / 1.319 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005683/0.9813, allocations: 0.7396 MB / 1.32 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9813, allocations: 0 / 1.32 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.9843, allocations: 1.413 MB / 1.322 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000877/0.9852, allocations: 358.2 kB / 1.322 GB, free: 7.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/0.9857, allocations: 8 kB / 1.322 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.9868, allocations: 43.95 kB / 1.322 GB, free: 6.953 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.9869, allocations: 40.44 kB / 1.322 GB, free: 6.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.987, allocations: 27.92 kB / 1.322 GB, free: 6.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003088/0.9901, allocations: 1.627 MB / 1.324 GB, free: 5.25 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9901, allocations: 0 / 1.324 GB, free: 5.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00327/0.9934, allocations: 0.9516 MB / 1.325 GB, free: 4.297 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/0.9948, allocations: 0.5091 MB / 1.325 GB, free: 3.789 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003843/0.9986, allocations: 2.019 MB / 1.327 GB, free: 1.742 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.9986, allocations: 4.188 kB / 1.327 GB, free: 1.738 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008036/0.9994, allocations: 338.3 kB / 1.327 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/1.004, allocations: 0.9797 MB / 1.328 GB, free: 456 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008203/1.012, allocations: 3.716 MB / 1.332 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/1.014, allocations: 1.658 MB / 1.334 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/1.015, allocations: 167.4 kB / 1.334 GB, free: 10.83 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/1.015, allocations: 4 kB / 1.334 GB, free: 10.82 MB / 1.061 GB Notification: Performance of Templates: time 0.06002/1.075, allocations: 45.45 MB / 1.378 GB, free: 13.62 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches