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.001376/0.001376, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001863/0.001863, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.45/3.45, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.002117/0.002117, allocations: 77.36 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4795, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01845/0.4979, allocations: 13.52 MB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007406/0.5054, allocations: 3.398 MB / 1.344 GB, free: 20 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.5066, allocations: 23.86 kB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.5077, allocations: 198.7 kB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.5105, allocations: 0.6297 MB / 1.344 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.5121, allocations: 408.7 kB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.5147, allocations: 1.13 MB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007276/0.5154, allocations: 253 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.5172, allocations: 458.8 kB / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005428/0.5177, allocations: 326.5 kB / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.5178, allocations: 39.94 kB / 1.347 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006759/0.5185, allocations: 215.6 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.5186, allocations: 99.55 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.5188, allocations: 171.3 kB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009612/0.5198, allocations: 0.6149 MB / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5198, allocations: 0 / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5198, allocations: 0 / 1.348 GB, free: 11.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.5198, allocations: 0 / 1.348 GB, free: 11.48 MB / 1.045 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.001319/0.5211, allocations: 0.6855 MB / 1.349 GB, free: 10.76 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5212, allocations: 8.031 kB / 1.349 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.5214, allocations: 52.66 kB / 1.349 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/0.5223, allocations: 400.8 kB / 1.349 GB, free: 10.28 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.5223, allocations: 20.88 kB / 1.349 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.5223, allocations: 31.94 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/0.5231, allocations: 416 kB / 1.35 GB, free: 9.781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.5231, allocations: 3.953 kB / 1.35 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.5231, allocations: 12 kB / 1.35 GB, free: 9.766 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.5231, allocations: 11.98 kB / 1.35 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.5236, allocations: 189.8 kB / 1.35 GB, free: 9.57 MB / 1.045 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.001905/0.5255, allocations: 1.081 MB / 1.351 GB, free: 8.434 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.526, allocations: 158.5 kB / 1.351 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.5262, allocations: 64.75 kB / 1.351 GB, free: 8.203 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.5263, allocations: 8 kB / 1.351 GB, free: 8.195 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004494/0.5268, allocations: 234.1 kB / 1.351 GB, free: 7.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.845e-06/0.5268, allocations: 0 / 1.351 GB, free: 7.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0007412/0.5275, allocations: 235.4 kB / 1.351 GB, free: 7.695 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.5276, allocations: 59.33 kB / 1.352 GB, free: 7.625 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.528, allocations: 332.5 kB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.5281, allocations: 29.69 kB / 1.352 GB, free: 7.258 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.5283, allocations: 224.4 kB / 1.352 GB, free: 7.035 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.5283, allocations: 51.53 kB / 1.352 GB, free: 6.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.5285, allocations: 57.66 kB / 1.352 GB, free: 6.922 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.5286, allocations: 342.8 kB / 1.353 GB, free: 6.578 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.5289, allocations: 101.7 kB / 1.353 GB, free: 6.473 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.5292, allocations: 175 kB / 1.353 GB, free: 6.262 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.5297, allocations: 248.7 kB / 1.353 GB, free: 5.98 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5297, allocations: 0 / 1.353 GB, free: 5.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000684/0.5303, allocations: 346 kB / 1.353 GB, free: 5.625 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.5304, allocations: 33.7 kB / 1.353 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5304, allocations: 7.938 kB / 1.353 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.5304, allocations: 7.984 kB / 1.353 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.5307, allocations: 51.91 kB / 1.353 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5307, allocations: 7.938 kB / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.531, allocations: 31.83 kB / 1.353 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.531, allocations: 16 kB / 1.354 GB, free: 5.465 MB / 1.045 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.0002011/0.5312, allocations: 165.7 kB / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.5312, allocations: 31.81 kB / 1.354 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/0.5318, allocations: 184.5 kB / 1.354 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.5318, allocations: 4 kB / 1.354 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5318, allocations: 3.938 kB / 1.354 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005849/0.5324, allocations: 487.6 kB / 1.354 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.5328, allocations: 253.1 kB / 1.355 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5328, allocations: 4 kB / 1.355 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.533, allocations: 27.98 kB / 1.355 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.533, allocations: 3.938 kB / 1.355 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.533, allocations: 8 kB / 1.355 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.533, allocations: 0 / 1.355 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.533, allocations: 3.984 kB / 1.355 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.5337, allocations: 282.8 kB / 1.355 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5338, allocations: 48.02 kB / 1.355 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.5339, allocations: 12 kB / 1.355 GB, free: 3.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.5341, allocations: 19.97 kB / 1.355 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.5342, allocations: 7.984 kB / 1.355 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.5342, allocations: 15.92 kB / 1.355 GB, free: 3.785 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002724/0.5345, allocations: 235 kB / 1.355 GB, free: 3.559 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.5345, allocations: 0 / 1.355 GB, free: 3.559 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005263/0.535, allocations: 127.7 kB / 1.355 GB, free: 3.434 MB / 1.045 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.0004303/0.5354, allocations: 187 kB / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006378/0.5361, allocations: 250.5 kB / 1.356 GB, free: 2.98 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5361, allocations: 0 / 1.356 GB, free: 2.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.5363, allocations: 75.88 kB / 1.356 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.5373, allocations: 196.3 kB / 1.356 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.5391, allocations: 0.7382 MB / 1.357 GB, free: 1.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.5394, allocations: 188.9 kB / 1.357 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000285/0.5397, allocations: 63.19 kB / 1.357 GB, free: 1.688 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.5398, allocations: 31.42 kB / 1.357 GB, free: 1.656 MB / 1.045 GB Notification: Performance of SimCode: time 1.673e-06/0.5398, allocations: 4 kB / 1.357 GB, free: 1.652 MB / 1.045 GB Notification: Performance of Templates: time 0.0157/0.5555, allocations: 7.753 MB / 1.365 GB, free: 10.07 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 -s cvode -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: 10.219512530995416]