Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] 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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 1.057 GB, free: 2.035 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 160.7 MB / 1.214 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03721/0.3535, allocations: 33.44 MB / 1.247 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.3735, allocations: 12.36 MB / 1.259 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.3757, allocations: 59.69 kB / 1.259 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.3806, allocations: 1.552 MB / 1.26 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6645/1.045, allocations: 1.774 MB / 1.262 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004155/1.049, allocations: 1.501 MB / 1.264 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0114/1.061, allocations: 7.803 MB / 1.271 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/1.064, allocations: 1.82 MB / 1.273 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005484/1.069, allocations: 1.949 MB / 1.275 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/1.073, allocations: 1.508 MB / 1.276 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005238/1.074, allocations: 156.5 kB / 1.276 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/1.078, allocations: 1.372 MB / 1.278 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/1.079, allocations: 0.6214 MB / 1.278 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002491/1.081, allocations: 1.198 MB / 1.28 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007117/1.088, allocations: 3.562 MB / 1.283 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.088, allocations: 0 / 1.283 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.744e-06/1.088, allocations: 0 / 1.283 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001012/1.088, allocations: 2.219 kB / 1.283 GB, free: 7.102 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.006758/1.095, allocations: 2.894 MB / 1.286 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.095, allocations: 17.86 kB / 1.286 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/1.098, allocations: 447.7 kB / 1.286 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005716/1.103, allocations: 2.778 MB / 1.289 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/1.103, allocations: 80.83 kB / 1.289 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/1.104, allocations: 107.6 kB / 1.289 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/1.106, allocations: 1.323 MB / 1.291 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/1.106, allocations: 5.469 kB / 1.291 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.106, allocations: 46.83 kB / 1.291 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.106, allocations: 28.19 kB / 1.291 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/1.109, allocations: 1.024 MB / 1.292 GB, free: 4.492 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.00888/1.118, allocations: 6.901 MB / 1.298 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/1.119, allocations: 0.5749 MB / 1.299 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007685/1.12, allocations: 360.6 kB / 1.299 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003466/1.123, allocations: 1.71 MB / 1.301 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008309/1.124, allocations: 363.9 kB / 1.301 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007778/1.125, allocations: 110 kB / 1.301 GB, free: 15.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.965e-06/1.125, allocations: 0 / 1.301 GB, free: 15.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.003823/1.129, allocations: 1.378 MB / 1.303 GB, free: 15.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/1.129, allocations: 59.78 kB / 1.303 GB, free: 15.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/1.133, allocations: 2.39 MB / 1.305 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/1.133, allocations: 47.52 kB / 1.305 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.134, allocations: 0.9964 MB / 1.306 GB, free: 13.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.134, allocations: 168.9 kB / 1.306 GB, free: 13.22 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004764/1.135, allocations: 300.7 kB / 1.307 GB, free: 13.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.135, allocations: 356.4 kB / 1.307 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.136, allocations: 0.498 MB / 1.307 GB, free: 12.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.137, allocations: 0.9901 MB / 1.308 GB, free: 11.81 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/1.14, allocations: 1.338 MB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/1.14, allocations: 7.188 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003965/1.144, allocations: 1.798 MB / 1.311 GB, free: 10.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/1.144, allocations: 43.28 kB / 1.311 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/1.144, allocations: 10.78 kB / 1.311 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/1.145, allocations: 190.4 kB / 1.312 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/1.145, allocations: 229.5 kB / 1.312 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008048/1.146, allocations: 0.7634 MB / 1.313 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.148, allocations: 81.14 kB / 1.313 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.148, allocations: 60.36 kB / 1.313 GB, free: 9.625 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002068/1.15, allocations: 1.01 MB / 1.314 GB, free: 9.215 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001376/1.151, allocations: 0.9728 MB / 1.315 GB, free: 8.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002165/1.154, allocations: 1.306 MB / 1.316 GB, free: 7.625 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.448e-05/1.154, allocations: 3.656 kB / 1.316 GB, free: 7.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.00379/1.157, allocations: 1.787 MB / 1.318 GB, free: 6.902 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/1.157, allocations: 42.05 kB / 1.318 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/1.158, allocations: 11.59 kB / 1.318 GB, free: 6.867 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/1.158, allocations: 124.3 kB / 1.318 GB, free: 6.836 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/1.159, allocations: 221.4 kB / 1.318 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/1.161, allocations: 2.338 MB / 1.32 GB, free: 4.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/1.163, allocations: 80.08 kB / 1.32 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.163, allocations: 56.52 kB / 1.321 GB, free: 4.945 MB / 1.014 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.0004859/1.164, allocations: 255.4 kB / 1.321 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007564/1.165, allocations: 220.6 kB / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/1.168, allocations: 1.024 MB / 1.322 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.168, allocations: 11.69 kB / 1.322 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.168, allocations: 0 / 1.322 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001839/1.169, allocations: 0.9542 MB / 1.323 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/1.176, allocations: 2.312 MB / 1.325 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.176, allocations: 5.094 kB / 1.325 GB, free: 2.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/1.177, allocations: 90.48 kB / 1.325 GB, free: 2.641 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/1.177, allocations: 119.8 kB / 1.325 GB, free: 2.605 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/1.177, allocations: 16.03 kB / 1.325 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006976/1.178, allocations: 0.7365 MB / 1.326 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.178, allocations: 1.562 kB / 1.326 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/1.181, allocations: 1.411 MB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.182, allocations: 370.5 kB / 1.328 GB, free: 1.098 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007378/1.183, allocations: 12.56 kB / 1.328 GB, free: 1.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.184, allocations: 54.8 kB / 1.328 GB, free: 1.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.185, allocations: 40.55 kB / 1.328 GB, free: 1.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/1.185, allocations: 29.22 kB / 1.328 GB, free: 1.059 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003803/1.188, allocations: 1.624 MB / 1.33 GB, free: 488 kB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.188, allocations: 0 / 1.33 GB, free: 488 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.004912/1.193, allocations: 0.9557 MB / 1.33 GB, free: 320 kB / 1.014 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.001842/1.195, allocations: 0.5065 MB / 1.331 GB, free: 152 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004651/1.2, allocations: 1.891 MB / 1.333 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.2, allocations: 0 / 1.333 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008824/1.201, allocations: 309.6 kB / 1.333 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006159/1.207, allocations: 0.9915 MB / 1.334 GB, free: 15.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.217, allocations: 3.792 MB / 1.338 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/1.219, allocations: 1.671 MB / 1.339 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008562/1.22, allocations: 165.2 kB / 1.34 GB, free: 12.42 MB / 1.029 GB Notification: Performance of SimCode: time 1.312e-06/1.22, allocations: 0 / 1.34 GB, free: 12.42 MB / 1.029 GB Notification: Performance of Templates: time 0.07511/1.295, allocations: 45.63 MB / 1.384 GB, free: 6.051 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.48277597897686]