Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002178/0.002178, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001488/0.001488, allocations: 188.7 kB / 22.23 MB, free: 5.137 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.518/1.518, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.5 MB / 0.7322 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 71.89 kB / 1.061 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9845/0.9868, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02374/1.011, allocations: 14.69 MB / 1.233 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007099/1.018, allocations: 3.671 MB / 1.236 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009967/1.019, allocations: 31.75 kB / 1.236 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009998/1.02, allocations: 210.7 kB / 1.237 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002421/1.022, allocations: 0.622 MB / 1.237 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/1.023, allocations: 417.2 kB / 1.238 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002155/1.026, allocations: 1.13 MB / 1.239 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006733/1.026, allocations: 272.6 kB / 1.239 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/1.028, allocations: 414.9 kB / 1.239 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007992/1.029, allocations: 322.6 kB / 1.24 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/1.029, allocations: 36 kB / 1.24 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/1.03, allocations: 267.5 kB / 1.24 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/1.03, allocations: 95.61 kB / 1.24 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/1.03, allocations: 218.9 kB / 1.24 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/1.032, allocations: 0.5904 MB / 1.241 GB, free: 224 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.032, allocations: 3.938 kB / 1.241 GB, free: 220 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.764e-06/1.032, allocations: 0 / 1.241 GB, free: 220 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.993e-05/1.032, allocations: 0 / 1.241 GB, free: 220 kB / 0.9356 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.001836/1.034, allocations: 0.7578 MB / 1.242 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.034, allocations: 8.031 kB / 1.242 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/1.034, allocations: 52.66 kB / 1.242 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/1.035, allocations: 468 kB / 1.242 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/1.035, allocations: 24.06 kB / 1.242 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/1.035, allocations: 31.89 kB / 1.242 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/1.036, allocations: 305.3 kB / 1.242 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/1.036, allocations: 0 / 1.242 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/1.036, allocations: 23.92 kB / 1.242 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.036, allocations: 8 kB / 1.242 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/1.036, allocations: 197.8 kB / 1.243 GB, free: 14.25 MB / 0.9512 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.002229/1.039, allocations: 1.489 MB / 1.244 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/1.039, allocations: 150.6 kB / 1.244 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/1.039, allocations: 60.81 kB / 1.244 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/1.04, allocations: 89.09 kB / 1.244 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/1.04, allocations: 124 kB / 1.245 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/1.04, allocations: 4 kB / 1.245 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007155/1.041, allocations: 239.5 kB / 1.245 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/1.041, allocations: 55.41 kB / 1.245 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/1.041, allocations: 349.7 kB / 1.245 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/1.041, allocations: 33.7 kB / 1.245 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/1.041, allocations: 224 kB / 1.245 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/1.041, allocations: 47.59 kB / 1.245 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.042, allocations: 57.66 kB / 1.245 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.042, allocations: 342.8 kB / 1.246 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/1.042, allocations: 71.89 kB / 1.246 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/1.042, allocations: 149.4 kB / 1.246 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/1.043, allocations: 237.4 kB / 1.246 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.043, allocations: 0 / 1.246 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006983/1.043, allocations: 318.8 kB / 1.247 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/1.043, allocations: 37.64 kB / 1.247 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.043, allocations: 0 / 1.247 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.043, allocations: 4 kB / 1.247 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/1.044, allocations: 60.22 kB / 1.247 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.044, allocations: 8 kB / 1.247 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/1.044, allocations: 35.77 kB / 1.247 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/1.044, allocations: 11.98 kB / 1.247 GB, free: 9.797 MB / 0.9512 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.0002097/1.044, allocations: 161.7 kB / 1.247 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/1.044, allocations: 39.7 kB / 1.247 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/1.045, allocations: 196.4 kB / 1.247 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.045, allocations: 7.938 kB / 1.247 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.045, allocations: 0 / 1.247 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005536/1.045, allocations: 490.6 kB / 1.248 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/1.046, allocations: 353.4 kB / 1.248 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.046, allocations: 0 / 1.248 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/1.046, allocations: 39.91 kB / 1.248 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.046, allocations: 3.938 kB / 1.248 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.046, allocations: 0 / 1.248 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.046, allocations: 8 kB / 1.248 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.046, allocations: 0 / 1.248 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006556/1.047, allocations: 284.7 kB / 1.248 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/1.047, allocations: 120.9 kB / 1.248 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/1.047, allocations: 11.94 kB / 1.248 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/1.047, allocations: 15.98 kB / 1.248 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/1.047, allocations: 19.97 kB / 1.248 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/1.047, allocations: 7.984 kB / 1.248 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002929/1.048, allocations: 251.1 kB / 1.249 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/1.048, allocations: 0 / 1.249 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005007/1.048, allocations: 131.7 kB / 1.249 GB, free: 7.516 MB / 0.9512 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.0004141/1.048, allocations: 191.1 kB / 1.249 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005644/1.049, allocations: 225.8 kB / 1.249 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.049, allocations: 0 / 1.249 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/1.049, allocations: 63.89 kB / 1.249 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009504/1.05, allocations: 208.7 kB / 1.249 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/1.052, allocations: 0.7549 MB / 1.25 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/1.052, allocations: 0.7918 MB / 1.251 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002907/1.053, allocations: 55.27 kB / 1.251 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/1.053, allocations: 47.34 kB / 1.251 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of SimCode: time 7.21e-07/1.053, allocations: 3.938 kB / 1.251 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of Templates: time 0.01692/1.07, allocations: 7.334 MB / 1.258 GB, free: 13.9 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.476768876425922]