Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.00185/0.00185, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001989/0.001989, allocations: 192.6 kB / 22.17 MB, free: 5.656 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.522/1.522, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.88 kB / 1.109 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6964/0.6984, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001666/0.7, allocations: 0.5351 MB / 1.275 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001694/0.7002, allocations: 47.86 kB / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.7003, allocations: 0 / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.7003, allocations: 3.938 kB / 1.275 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.7004, allocations: 3.938 kB / 1.275 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.233e-05/0.7004, allocations: 8 kB / 1.275 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.7005, allocations: 15.92 kB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.7006, allocations: 4 kB / 1.275 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.652e-05/0.7006, allocations: 3.984 kB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.349e-05/0.7007, allocations: 11.92 kB / 1.275 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.7007, allocations: 0 / 1.275 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-06/0.7007, allocations: 4 kB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.7007, allocations: 0 / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.7007, allocations: 11.94 kB / 1.275 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.583e-05/0.7008, allocations: 7.984 kB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7008, allocations: 4 kB / 1.275 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7008, allocations: 0 / 1.275 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.7008, allocations: 0 / 1.275 GB, free: 3.906 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004358/0.7012, allocations: 338.1 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.7013, allocations: 12.02 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.7013, allocations: 0.9375 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.7015, allocations: 172.4 kB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.7015, allocations: 4.312 kB / 1.275 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.7015, allocations: 384 / 1.275 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.7016, allocations: 42.19 kB / 1.275 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.7016, allocations: 192 / 1.275 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.7016, allocations: 3.938 kB / 1.275 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7016, allocations: 0 / 1.275 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.7016, allocations: 4 kB / 1.275 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.7018, allocations: 157.7 kB / 1.275 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.33e-05/0.7019, allocations: 26.5 kB / 1.275 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.7019, allocations: 12.86 kB / 1.275 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.7019, allocations: 0 / 1.275 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.7019, allocations: 34.62 kB / 1.275 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.7019, allocations: 0 / 1.275 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.7021, allocations: 41.62 kB / 1.275 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.7021, allocations: 55.39 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.7022, allocations: 109.8 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7022, allocations: 25.7 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.7023, allocations: 88.27 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.7023, allocations: 4 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.7023, allocations: 17.61 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.7025, allocations: 322.8 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.7025, allocations: 3.984 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.7025, allocations: 13.72 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.7027, allocations: 29.77 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7027, allocations: 0 / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.8e-05/0.7027, allocations: 45.62 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.7027, allocations: 8 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7027, allocations: 3.938 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.7028, allocations: 0 / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.7028, allocations: 4 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.7028, allocations: 0 / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.7029, allocations: 4.062 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.7029, allocations: 4 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.599e-05/0.703, allocations: 113.8 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.703, allocations: 0 / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.7031, allocations: 57.09 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7031, allocations: 0 / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.7031, allocations: 0 / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7031, allocations: 3.938 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.7032, allocations: 157.9 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7032, allocations: 8.031 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.7033, allocations: 7.984 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7033, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.7033, allocations: 7.938 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7033, allocations: 0 / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7033, allocations: 0 / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.7034, allocations: 81.02 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.7035, allocations: 81.19 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.7035, allocations: 7.938 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.69e-05/0.7035, allocations: 4.031 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.7035, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.7035, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.7036, allocations: 91.27 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.7036, allocations: 0 / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000184/0.7038, allocations: 4 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001005/0.7039, allocations: 95.78 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.7039, allocations: 23.98 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7039, allocations: 0 / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.704, allocations: 7.938 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.7041, allocations: 6.016 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.7044, allocations: 129.3 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.7047, allocations: 0.6845 MB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.705e-05/0.7047, allocations: 4.188 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.7047, allocations: 11.44 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.7047, allocations: 0 / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of Templates: time 0.002467/0.7072, allocations: 321.1 kB / 1.278 GB, free: 72 kB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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: 8.523800819180906]