Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.002106/0.002106, allocations: 111.3 kB / 17.6 MB, free: 4.785 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.00249/0.00249, allocations: 185.9 kB / 20.78 MB, free: 1.617 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.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.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.844/2.844, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01706/1.159, allocations: 14.68 MB / 1.286 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007131/1.166, allocations: 3.662 MB / 1.29 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/1.167, allocations: 21.28 kB / 1.29 GB, free: 10.88 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000877/1.168, allocations: 218.3 kB / 1.29 GB, free: 10.76 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/1.17, allocations: 0.6175 MB / 1.291 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/1.172, allocations: 402.8 kB / 1.291 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001824/1.174, allocations: 1.088 MB / 1.292 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004978/1.174, allocations: 261.1 kB / 1.292 GB, free: 9.539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/1.175, allocations: 410.1 kB / 1.293 GB, free: 9.355 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/1.176, allocations: 321.7 kB / 1.293 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/1.176, allocations: 32.62 kB / 1.293 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/1.177, allocations: 268.8 kB / 1.293 GB, free: 9.113 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/1.177, allocations: 94.22 kB / 1.293 GB, free: 9.059 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/1.177, allocations: 214.4 kB / 1.294 GB, free: 8.934 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/1.178, allocations: 0.5912 MB / 1.294 GB, free: 8.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.178, allocations: 0 / 1.294 GB, free: 8.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/1.178, allocations: 0 / 1.294 GB, free: 8.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.178, allocations: 5 kB / 1.294 GB, free: 8.703 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001415/1.179, allocations: 0.7559 MB / 1.295 GB, free: 8.086 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.179, allocations: 9.25 kB / 1.295 GB, free: 8.086 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/1.18, allocations: 55.27 kB / 1.295 GB, free: 8.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/1.181, allocations: 471 kB / 1.295 GB, free: 7.719 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.181, allocations: 19 kB / 1.296 GB, free: 7.711 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/1.181, allocations: 36.55 kB / 1.296 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008223/1.181, allocations: 315.6 kB / 1.296 GB, free: 7.531 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.181, allocations: 0 / 1.296 GB, free: 7.531 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/1.182, allocations: 11.38 kB / 1.296 GB, free: 7.523 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/1.182, allocations: 9.422 kB / 1.296 GB, free: 7.523 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/1.182, allocations: 188.1 kB / 1.296 GB, free: 7.469 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.002053/1.184, allocations: 1.488 MB / 1.297 GB, free: 6.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/1.185, allocations: 149.4 kB / 1.298 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/1.185, allocations: 61.81 kB / 1.298 GB, free: 6.184 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/1.185, allocations: 94.47 kB / 1.298 GB, free: 6.082 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/1.185, allocations: 126.8 kB / 1.298 GB, free: 6.012 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/1.185, allocations: 3.938 kB / 1.298 GB, free: 6.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0006688/1.186, allocations: 233.9 kB / 1.298 GB, free: 5.914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/1.186, allocations: 62.41 kB / 1.298 GB, free: 5.844 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/1.186, allocations: 350.9 kB / 1.299 GB, free: 5.664 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/1.186, allocations: 30.11 kB / 1.299 GB, free: 5.633 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/1.187, allocations: 217.1 kB / 1.299 GB, free: 5.453 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/1.187, allocations: 52.8 kB / 1.299 GB, free: 5.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/1.187, allocations: 56.09 kB / 1.299 GB, free: 5.375 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.187, allocations: 338.8 kB / 1.299 GB, free: 5.051 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/1.187, allocations: 73.72 kB / 1.299 GB, free: 5.027 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/1.187, allocations: 153.8 kB / 1.299 GB, free: 4.906 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/1.188, allocations: 247.1 kB / 1.3 GB, free: 4.723 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.188, allocations: 0 / 1.3 GB, free: 4.723 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000624/1.188, allocations: 317.8 kB / 1.3 GB, free: 4.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/1.189, allocations: 35.75 kB / 1.3 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.189, allocations: 4.75 kB / 1.3 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.189, allocations: 1.906 kB / 1.3 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/1.189, allocations: 59.39 kB / 1.3 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.189, allocations: 6.266 kB / 1.3 GB, free: 4.523 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/1.189, allocations: 34 kB / 1.3 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/1.189, allocations: 13.19 kB / 1.3 GB, free: 4.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.000176/1.189, allocations: 162.9 kB / 1.3 GB, free: 4.355 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/1.189, allocations: 32.92 kB / 1.3 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/1.19, allocations: 194.1 kB / 1.3 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.19, allocations: 5.719 kB / 1.3 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.19, allocations: 0 / 1.3 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005496/1.19, allocations: 488.8 kB / 1.301 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/1.191, allocations: 356.9 kB / 1.301 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.191, allocations: 0.6562 kB / 1.301 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/1.191, allocations: 31.25 kB / 1.301 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.191, allocations: 0.5156 kB / 1.301 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/1.191, allocations: 8.656 kB / 1.301 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/1.191, allocations: 6.578 kB / 1.301 GB, free: 3.496 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.191, allocations: 3.938 kB / 1.301 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/1.192, allocations: 285.2 kB / 1.302 GB, free: 3.352 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.192, allocations: 135.1 kB / 1.302 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/1.192, allocations: 0.5156 kB / 1.302 GB, free: 3.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/1.192, allocations: 23.19 kB / 1.302 GB, free: 3.215 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/1.192, allocations: 10.73 kB / 1.302 GB, free: 3.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/1.192, allocations: 15.06 kB / 1.302 GB, free: 3.211 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003173/1.193, allocations: 243.4 kB / 1.302 GB, free: 3.082 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.193, allocations: 4 kB / 1.302 GB, free: 3.078 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005558/1.193, allocations: 124.4 kB / 1.302 GB, free: 3.051 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004699/1.194, allocations: 203.3 kB / 1.302 GB, free: 2.918 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006381/1.194, allocations: 220 kB / 1.303 GB, free: 2.809 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.194, allocations: 1.125 kB / 1.303 GB, free: 2.809 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/1.195, allocations: 68.52 kB / 1.303 GB, free: 2.789 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/1.195, allocations: 209.3 kB / 1.303 GB, free: 2.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/1.197, allocations: 0.7588 MB / 1.304 GB, free: 2.242 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/1.198, allocations: 0.7897 MB / 1.304 GB, free: 1.535 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002869/1.198, allocations: 62.22 kB / 1.304 GB, free: 1.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/1.198, allocations: 31.7 kB / 1.304 GB, free: 1.512 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.198, allocations: 0 / 1.304 GB, free: 1.512 MB / 1.014 GB Notification: Performance of Templates: time 0.01699/1.215, allocations: 7.301 MB / 1.312 GB, free: 0.832 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.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: 9.718668633140624]