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.001326/0.001326, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001375/0.001375, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] 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.502/2.502, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8168, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0135/0.8303, allocations: 14.68 MB / 1.286 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.8355, allocations: 3.666 MB / 1.289 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.8359, allocations: 24.31 kB / 1.289 GB, free: 10.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.8366, allocations: 212.1 kB / 1.29 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.8379, allocations: 0.6113 MB / 1.29 GB, free: 10.19 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.8388, allocations: 406 kB / 1.29 GB, free: 9.965 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.8401, allocations: 1.082 MB / 1.292 GB, free: 9.457 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.8405, allocations: 268.2 kB / 1.292 GB, free: 9.324 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.8413, allocations: 410 kB / 1.292 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.8417, allocations: 319.3 kB / 1.293 GB, free: 9.012 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.8418, allocations: 38.34 kB / 1.293 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.8423, allocations: 266.6 kB / 1.293 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.8424, allocations: 101.9 kB / 1.293 GB, free: 8.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.8426, allocations: 216.8 kB / 1.293 GB, free: 8.711 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.8434, allocations: 0.5864 MB / 1.294 GB, free: 8.488 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8434, allocations: 3.938 kB / 1.294 GB, free: 8.484 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8434, allocations: 0 / 1.294 GB, free: 8.484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8434, allocations: 0 / 1.294 GB, free: 8.484 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.001131/0.8446, allocations: 0.7558 MB / 1.294 GB, free: 7.867 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.8446, allocations: 9.094 kB / 1.294 GB, free: 7.867 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.419e-05/0.8447, allocations: 66.22 kB / 1.294 GB, free: 7.809 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.8448, allocations: 50.55 kB / 1.295 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.8455, allocations: 467.8 kB / 1.295 GB, free: 7.449 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.8456, allocations: 24.69 kB / 1.295 GB, free: 7.438 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.8456, allocations: 29.58 kB / 1.295 GB, free: 7.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.8462, allocations: 315 kB / 1.295 GB, free: 7.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.8462, allocations: 3.938 kB / 1.295 GB, free: 7.262 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.8462, allocations: 12.38 kB / 1.295 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.8462, allocations: 9.406 kB / 1.295 GB, free: 7.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.8467, allocations: 194.2 kB / 1.296 GB, free: 7.191 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.001806/0.8485, allocations: 1.48 MB / 1.297 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.8489, allocations: 147.5 kB / 1.297 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.8491, allocations: 61.66 kB / 1.297 GB, free: 5.914 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.8492, allocations: 87.47 kB / 1.297 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.8496, allocations: 129.1 kB / 1.297 GB, free: 5.746 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.8496, allocations: 1.906 kB / 1.297 GB, free: 5.746 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0006451/0.8502, allocations: 237.8 kB / 1.298 GB, free: 5.648 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.8503, allocations: 58.09 kB / 1.298 GB, free: 5.582 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.8507, allocations: 350.8 kB / 1.298 GB, free: 5.402 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.8507, allocations: 33.45 kB / 1.298 GB, free: 5.367 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.8509, allocations: 219.3 kB / 1.298 GB, free: 5.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.851, allocations: 56.55 kB / 1.298 GB, free: 5.141 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.851, allocations: 53.86 kB / 1.298 GB, free: 5.105 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8512, allocations: 342.5 kB / 1.299 GB, free: 4.781 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.8514, allocations: 71.23 kB / 1.299 GB, free: 4.758 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.8516, allocations: 148.5 kB / 1.299 GB, free: 4.641 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.8521, allocations: 251 kB / 1.299 GB, free: 4.453 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8521, allocations: 1.469 kB / 1.299 GB, free: 4.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005904/0.8526, allocations: 306.9 kB / 1.299 GB, free: 4.305 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.8527, allocations: 38.5 kB / 1.299 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8527, allocations: 11.78 kB / 1.299 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.8527, allocations: 7.062 kB / 1.299 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.8529, allocations: 54.98 kB / 1.3 GB, free: 4.254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.8529, allocations: 8.609 kB / 1.3 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.8532, allocations: 35.34 kB / 1.3 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.8532, allocations: 16.08 kB / 1.3 GB, free: 4.227 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.0001544/0.8533, allocations: 155.2 kB / 1.3 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.8534, allocations: 40.38 kB / 1.3 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.8538, allocations: 196.8 kB / 1.3 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8538, allocations: 3.938 kB / 1.3 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8538, allocations: 0 / 1.3 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005008/0.8543, allocations: 488.9 kB / 1.3 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.8548, allocations: 354.2 kB / 1.301 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8548, allocations: 0 / 1.301 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.8549, allocations: 33.33 kB / 1.301 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.8549, allocations: 0.7969 kB / 1.301 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.855, allocations: 6.5 kB / 1.301 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.855, allocations: 11.84 kB / 1.301 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.855, allocations: 0.6562 kB / 1.301 GB, free: 3.219 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.8555, allocations: 281.4 kB / 1.301 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.8557, allocations: 129.7 kB / 1.301 GB, free: 2.953 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.8557, allocations: 6.734 kB / 1.301 GB, free: 2.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.8559, allocations: 20.97 kB / 1.301 GB, free: 2.941 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.856, allocations: 15.72 kB / 1.301 GB, free: 2.941 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.856, allocations: 10.44 kB / 1.301 GB, free: 2.938 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002576/0.8563, allocations: 247.5 kB / 1.302 GB, free: 2.809 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.8563, allocations: 0 / 1.302 GB, free: 2.809 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004085/0.8567, allocations: 118.5 kB / 1.302 GB, free: 2.785 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.001216/0.8579, allocations: 0.912 MB / 1.303 GB, free: 2.078 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.8585, allocations: 220.4 kB / 1.303 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8585, allocations: 0 / 1.303 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.8587, allocations: 78.98 kB / 1.303 GB, free: 1.941 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.8596, allocations: 214.5 kB / 1.303 GB, free: 1.879 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.8638, allocations: 3.075 MB / 1.306 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.8643, allocations: 0.7938 MB / 1.307 GB, free: 15.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002782/0.8645, allocations: 61.44 kB / 1.307 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.8647, allocations: 122.2 kB / 1.307 GB, free: 15 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.8647, allocations: 0 / 1.307 GB, free: 15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.9017, allocations: 10.25 MB / 1.317 GB, free: 13.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.485, allocations: 8.938 kB / 1.317 GB, free: 13.93 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T in file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable vol.T from file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! Error: Could not read variable expVes.port_a.p in file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable expVes.port_a.p from file Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.899820326005283]