Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.001765/0.001765, allocations: 116.6 kB / 17.13 MB, free: 6.027 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.001957/0.001957, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.791/2.791, allocations: 0.49 GB / 0.7923 GB, free: 1.434 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [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.002202/0.002202, allocations: 63.91 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8852/0.8874, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01479/0.9022, allocations: 14.67 MB / 1.336 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.9079, allocations: 3.66 MB / 1.34 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.9086, allocations: 23.91 kB / 1.34 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.9094, allocations: 213.8 kB / 1.34 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.9114, allocations: 0.6152 MB / 1.341 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.9126, allocations: 391.9 kB / 1.341 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.9144, allocations: 1.09 MB / 1.342 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.9148, allocations: 267.9 kB / 1.342 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.9161, allocations: 447.2 kB / 1.343 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.9166, allocations: 326.8 kB / 1.343 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.9167, allocations: 33.41 kB / 1.343 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00077/0.9174, allocations: 277.9 kB / 1.343 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.9175, allocations: 102.7 kB / 1.343 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.9178, allocations: 217.3 kB / 1.344 GB, free: 10 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.9188, allocations: 0.614 MB / 1.344 GB, free: 9.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9188, allocations: 2.016 kB / 1.344 GB, free: 9.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9188, allocations: 0 / 1.344 GB, free: 9.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.9188, allocations: 0 / 1.344 GB, free: 9.77 MB / 1.061 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.001249/0.9201, allocations: 0.7684 MB / 1.345 GB, free: 9.145 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9201, allocations: 17.7 kB / 1.345 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.9203, allocations: 51.34 kB / 1.345 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.9211, allocations: 462.3 kB / 1.346 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.9211, allocations: 19.78 kB / 1.346 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.9212, allocations: 38.83 kB / 1.346 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.9217, allocations: 313.7 kB / 1.346 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.9218, allocations: 4 kB / 1.346 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.9218, allocations: 11.94 kB / 1.346 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.9218, allocations: 7.359 kB / 1.346 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.9223, allocations: 194.9 kB / 1.346 GB, free: 8.52 MB / 1.061 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.001747/0.924, allocations: 1.476 MB / 1.348 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.9245, allocations: 152 kB / 1.348 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.9247, allocations: 62.72 kB / 1.348 GB, free: 7.238 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.9248, allocations: 85.33 kB / 1.348 GB, free: 7.145 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.9251, allocations: 127.9 kB / 1.348 GB, free: 7.074 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.9251, allocations: 0 / 1.348 GB, free: 7.074 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007265/0.9258, allocations: 242.7 kB / 1.348 GB, free: 6.973 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.9259, allocations: 57.86 kB / 1.348 GB, free: 6.906 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.9263, allocations: 344 kB / 1.349 GB, free: 6.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.9263, allocations: 32.86 kB / 1.349 GB, free: 6.699 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.9264, allocations: 223.2 kB / 1.349 GB, free: 6.512 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.9265, allocations: 57.66 kB / 1.349 GB, free: 6.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.9266, allocations: 60.64 kB / 1.349 GB, free: 6.426 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.9266, allocations: 340 kB / 1.349 GB, free: 6.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.9268, allocations: 69.89 kB / 1.349 GB, free: 6.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.927, allocations: 144.7 kB / 1.349 GB, free: 5.969 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.9274, allocations: 244.4 kB / 1.35 GB, free: 5.789 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.9275, allocations: 1.125 kB / 1.35 GB, free: 5.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005848/0.928, allocations: 314.1 kB / 1.35 GB, free: 5.633 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.9281, allocations: 38.41 kB / 1.35 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9281, allocations: 2.375 kB / 1.35 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.9281, allocations: 3.719 kB / 1.35 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.9283, allocations: 63.77 kB / 1.35 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9283, allocations: 8.062 kB / 1.35 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.9286, allocations: 37.03 kB / 1.35 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.9286, allocations: 13.45 kB / 1.35 GB, free: 5.559 MB / 1.061 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.0001393/0.9288, allocations: 153 kB / 1.35 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.9288, allocations: 40.92 kB / 1.35 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.9293, allocations: 199.3 kB / 1.351 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.9293, allocations: 9.344 kB / 1.351 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9293, allocations: 0.7812 kB / 1.351 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003998/0.9297, allocations: 488.2 kB / 1.351 GB, free: 4.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.9301, allocations: 349.6 kB / 1.351 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9301, allocations: 0 / 1.351 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.9303, allocations: 29.72 kB / 1.351 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9303, allocations: 1.156 kB / 1.351 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.9303, allocations: 10.34 kB / 1.351 GB, free: 4.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9303, allocations: 5.031 kB / 1.351 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9303, allocations: 1.125 kB / 1.351 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.9309, allocations: 285 kB / 1.352 GB, free: 4.414 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.931, allocations: 121.4 kB / 1.352 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.9311, allocations: 6.969 kB / 1.352 GB, free: 4.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.9313, allocations: 25.59 kB / 1.352 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.9314, allocations: 12.59 kB / 1.352 GB, free: 4.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.9314, allocations: 11.38 kB / 1.352 GB, free: 4.277 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002678/0.9317, allocations: 250.7 kB / 1.352 GB, free: 4.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9317, allocations: 0 / 1.352 GB, free: 4.141 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005511/0.9322, allocations: 129.7 kB / 1.352 GB, free: 4.109 MB / 1.061 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.0003228/0.9326, allocations: 187.2 kB / 1.352 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.9331, allocations: 219.9 kB / 1.353 GB, free: 3.879 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9331, allocations: 0 / 1.353 GB, free: 3.879 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.9332, allocations: 68.14 kB / 1.353 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.9342, allocations: 221 kB / 1.353 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.9356, allocations: 0.77 MB / 1.354 GB, free: 3.285 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.9358, allocations: 0.7934 MB / 1.354 GB, free: 2.574 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/0.9359, allocations: 37.53 kB / 1.354 GB, free: 2.562 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.9359, allocations: 1.188 kB / 1.354 GB, free: 2.562 MB / 1.061 GB Notification: Performance of Templates: time 0.01141/0.9473, allocations: 6.167 MB / 1.36 GB, free: 1.793 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.128165405010805]