Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 212.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.479/3.479, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003558/0.003558, allocations: 75.92 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3905, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2688/0.6592, allocations: 211.1 MB / 1.57 GB, free: 9.738 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.6824, allocations: 14.62 MB / 1.584 GB, free: 11.08 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.6846, allocations: 87.25 kB / 1.584 GB, free: 10.99 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.003/0.6876, allocations: 0.9979 MB / 1.585 GB, free: 9.988 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008503/0.6961, allocations: 3.091 MB / 1.588 GB, free: 6.887 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.7007, allocations: 1.711 MB / 1.59 GB, free: 5.184 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.00546/0.7062, allocations: 3.451 MB / 1.593 GB, free: 1.719 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.7079, allocations: 0.995 MB / 1.594 GB, free: 0.6875 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007619/0.7156, allocations: 2.875 MB / 1.597 GB, free: 13.81 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.7182, allocations: 1.071 MB / 1.598 GB, free: 12.75 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003653/0.7186, allocations: 124 kB / 1.598 GB, free: 12.63 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006002/0.7246, allocations: 2.536 MB / 1.601 GB, free: 10.09 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.000868/0.7254, allocations: 490.3 kB / 1.601 GB, free: 9.605 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.7266, allocations: 0.6569 MB / 1.602 GB, free: 8.945 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.7322, allocations: 2.924 MB / 1.605 GB, free: 6.012 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.7322, allocations: 4 kB / 1.605 GB, free: 6.008 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7322, allocations: 0 / 1.605 GB, free: 6.008 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.094e-05/0.7323, allocations: 0 / 1.605 GB, free: 6.008 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004288/0.7366, allocations: 1.985 MB / 1.607 GB, free: 3.98 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7366, allocations: 8.031 kB / 1.607 GB, free: 3.973 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.7396, allocations: 0.5101 MB / 1.607 GB, free: 3.461 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.7425, allocations: 1.121 MB / 1.608 GB, free: 2.293 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.7426, allocations: 85.98 kB / 1.608 GB, free: 2.207 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.7428, allocations: 96 kB / 1.608 GB, free: 2.113 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.7456, allocations: 1.454 MB / 1.61 GB, free: 0.5156 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.7456, allocations: 7.938 kB / 1.61 GB, free: 0.5078 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.7457, allocations: 51.98 kB / 1.61 GB, free: 468 kB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.137e-05/0.7458, allocations: 41.98 kB / 1.61 GB, free: 424 kB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6506/1.396, allocations: 1.039 MB / 1.611 GB, free: 249.7 MB / 1.295 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.007725/1.404, allocations: 5.784 MB / 1.617 GB, free: 245.7 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.406, allocations: 0.525 MB / 1.617 GB, free: 245.6 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/1.406, allocations: 250.7 kB / 1.617 GB, free: 245.5 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/1.407, allocations: 50.88 kB / 1.617 GB, free: 245.5 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/1.407, allocations: 37.5 kB / 1.617 GB, free: 245.4 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 2.175e-06/1.407, allocations: 0.875 kB / 1.617 GB, free: 245.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.002553/1.409, allocations: 0.8284 MB / 1.618 GB, free: 245.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/1.409, allocations: 57.94 kB / 1.618 GB, free: 245.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.411, allocations: 1.126 MB / 1.619 GB, free: 244.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/1.411, allocations: 33.83 kB / 1.619 GB, free: 244.6 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/1.412, allocations: 0.7399 MB / 1.62 GB, free: 244.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/1.412, allocations: 126.2 kB / 1.62 GB, free: 244.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/1.412, allocations: 163.3 kB / 1.62 GB, free: 244 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/1.412, allocations: 338 kB / 1.621 GB, free: 243.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009034/1.413, allocations: 312.1 kB / 1.621 GB, free: 243.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/1.414, allocations: 0.9666 MB / 1.622 GB, free: 242.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/1.416, allocations: 0.9267 MB / 1.623 GB, free: 242 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.416, allocations: 6.25 kB / 1.623 GB, free: 242 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002645/1.419, allocations: 1.028 MB / 1.624 GB, free: 241.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.419, allocations: 10.86 kB / 1.624 GB, free: 241.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.419, allocations: 11.75 kB / 1.624 GB, free: 241.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/1.419, allocations: 17.97 kB / 1.624 GB, free: 241.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/1.42, allocations: 205 kB / 1.624 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/1.42, allocations: 27.28 kB / 1.624 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/1.421, allocations: 144.1 kB / 1.624 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/1.421, allocations: 45.5 kB / 1.624 GB, free: 241.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001199/1.422, allocations: 0.5693 MB / 1.625 GB, free: 241.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/1.423, allocations: 0.962 MB / 1.626 GB, free: 240.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001558/1.425, allocations: 0.9282 MB / 1.627 GB, free: 239.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.524e-06/1.425, allocations: 8.594 kB / 1.627 GB, free: 239.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002331/1.427, allocations: 1.032 MB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.427, allocations: 11.31 kB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.427, allocations: 11.5 kB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.427, allocations: 15.56 kB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/1.428, allocations: 205.5 kB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.211e-05/1.428, allocations: 22.09 kB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.429, allocations: 128 kB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.43, allocations: 42.03 kB / 1.628 GB, free: 239.4 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0003315/1.43, allocations: 243.4 kB / 1.628 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.43, allocations: 128 kB / 1.629 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/1.432, allocations: 0.6259 MB / 1.629 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.432, allocations: 3.938 kB / 1.629 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/1.432, allocations: 0.5625 kB / 1.629 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.432, allocations: 1.781 kB / 1.629 GB, free: 238.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/1.437, allocations: 1.652 MB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.437, allocations: 2.562 kB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/1.437, allocations: 96.7 kB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/1.437, allocations: 4.531 kB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/1.437, allocations: 13.25 kB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/1.437, allocations: 7 kB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.437, allocations: 7.719 kB / 1.631 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/1.439, allocations: 0.774 MB / 1.632 GB, free: 237.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/1.44, allocations: 185.5 kB / 1.632 GB, free: 237.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.44, allocations: 15.72 kB / 1.632 GB, free: 237.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008877/1.441, allocations: 63.12 kB / 1.632 GB, free: 237.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.441, allocations: 37.2 kB / 1.632 GB, free: 237.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/1.441, allocations: 22.95 kB / 1.632 GB, free: 237.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0013/1.442, allocations: 0.7459 MB / 1.633 GB, free: 237.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.442, allocations: 0 / 1.633 GB, free: 237.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002583/1.445, allocations: 0.6447 MB / 1.633 GB, free: 237.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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.0004803/1.445, allocations: 247.4 kB / 1.634 GB, free: 237 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002993/1.448, allocations: 1.087 MB / 1.635 GB, free: 236.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.448, allocations: 1.125 kB / 1.635 GB, free: 236.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006656/1.449, allocations: 251.8 kB / 1.635 GB, free: 236.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.451, allocations: 457 kB / 1.635 GB, free: 236.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/1.456, allocations: 2.241 MB / 1.638 GB, free: 235.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/1.457, allocations: 0.5955 MB / 1.638 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001431/1.458, allocations: 335.6 kB / 1.638 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/1.459, allocations: 77.47 kB / 1.639 GB, free: 235.1 MB / 1.295 GB Notification: Performance of SimCode: time 8.32e-07/1.459, allocations: 0 / 1.639 GB, free: 235.1 MB / 1.295 GB Notification: Performance of Templates: time 0.03551/1.494, allocations: 19.87 MB / 1.658 GB, free: 228 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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: 11.172456776723266]