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.001803/0.001803, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00222/0.00222, allocations: 209.1 kB / 23 MB, free: 4.934 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002124/0.002124, allocations: 67.42 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3163, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01728/0.3336, allocations: 13.52 MB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005516/0.3391, allocations: 3.402 MB / 1.344 GB, free: 52 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.3395, allocations: 23.81 kB / 1.344 GB, free: 28 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.3401, allocations: 202.7 kB / 1.344 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.3416, allocations: 0.6298 MB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009866/0.3425, allocations: 395.2 kB / 1.345 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001393/0.3439, allocations: 1.134 MB / 1.346 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.3443, allocations: 265 kB / 1.346 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.3454, allocations: 444.3 kB / 1.347 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.3459, allocations: 330.5 kB / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.3459, allocations: 32 kB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.3464, allocations: 211.6 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3465, allocations: 107.5 kB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.3467, allocations: 175.2 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008669/0.3476, allocations: 0.6149 MB / 1.348 GB, free: 11.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3476, allocations: 0 / 1.348 GB, free: 11.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3476, allocations: 0 / 1.348 GB, free: 11.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.3476, allocations: 0 / 1.348 GB, free: 11.52 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.001279/0.3489, allocations: 0.6832 MB / 1.349 GB, free: 10.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3489, allocations: 8.031 kB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.3491, allocations: 60.59 kB / 1.349 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.35, allocations: 400.8 kB / 1.349 GB, free: 10.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.35, allocations: 16.88 kB / 1.349 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.3501, allocations: 31.94 kB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.3508, allocations: 412 kB / 1.35 GB, free: 9.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3508, allocations: 3.953 kB / 1.35 GB, free: 9.816 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.3508, allocations: 12 kB / 1.35 GB, free: 9.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.3508, allocations: 8 kB / 1.35 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.3513, allocations: 193.8 kB / 1.35 GB, free: 9.609 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.001726/0.3531, allocations: 1.089 MB / 1.351 GB, free: 8.465 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.3535, allocations: 146.6 kB / 1.351 GB, free: 8.312 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3537, allocations: 68.81 kB / 1.351 GB, free: 8.242 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-05/0.3538, allocations: 11.98 kB / 1.351 GB, free: 8.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.3542, allocations: 230.1 kB / 1.351 GB, free: 7.969 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.3542, allocations: 0 / 1.351 GB, free: 7.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.000688/0.3549, allocations: 235.5 kB / 1.351 GB, free: 7.734 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3549, allocations: 59.34 kB / 1.352 GB, free: 7.664 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.3553, allocations: 332.4 kB / 1.352 GB, free: 7.332 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.3554, allocations: 33.7 kB / 1.352 GB, free: 7.293 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.3556, allocations: 216.4 kB / 1.352 GB, free: 7.078 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.3556, allocations: 63.45 kB / 1.352 GB, free: 7.016 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.3557, allocations: 57.64 kB / 1.352 GB, free: 6.953 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3559, allocations: 338.8 kB / 1.353 GB, free: 6.613 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.3561, allocations: 97.66 kB / 1.353 GB, free: 6.512 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.3564, allocations: 167.1 kB / 1.353 GB, free: 6.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.3569, allocations: 256.5 kB / 1.353 GB, free: 6.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3569, allocations: 0 / 1.353 GB, free: 6.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006853/0.3576, allocations: 340.6 kB / 1.353 GB, free: 5.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.3576, allocations: 33.64 kB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3576, allocations: 4 kB / 1.353 GB, free: 5.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3576, allocations: 4 kB / 1.353 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3579, allocations: 60.22 kB / 1.353 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3579, allocations: 7.984 kB / 1.353 GB, free: 5.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3582, allocations: 43.75 kB / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.3582, allocations: 11.98 kB / 1.354 GB, free: 5.5 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.0001786/0.3584, allocations: 158.8 kB / 1.354 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.3584, allocations: 31.81 kB / 1.354 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.3589, allocations: 192.4 kB / 1.354 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005621/0.3595, allocations: 491.6 kB / 1.354 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3595, allocations: 0 / 1.354 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.3596, allocations: 51.72 kB / 1.354 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.3597, allocations: 0 / 1.354 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.3599, allocations: 19.97 kB / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.36, allocations: 19.97 kB / 1.354 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005983/0.3606, allocations: 263.6 kB / 1.355 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007476/0.3613, allocations: 446.3 kB / 1.355 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001853/0.3615, allocations: 59.98 kB / 1.355 GB, free: 3.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002516/0.3618, allocations: 227.1 kB / 1.355 GB, free: 3.461 MB / 1.045 GB Notification: Performance of Backend: time 4.2e-07/0.3618, allocations: 0 / 1.355 GB, free: 3.461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009449/0.3627, allocations: 388.5 kB / 1.356 GB, free: 3.059 MB / 1.045 GB Notification: Performance of SimCode: time 0.002001/0.3647, allocations: 1.325 MB / 1.357 GB, free: 1.688 MB / 1.045 GB Notification: Performance of Templates: time 0.0146/0.3793, allocations: 8.122 MB / 1.365 GB, free: 9.727 MB / 1.061 GB " [Timeout remaining time 300] 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: 8.818784408002102]