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.00155/0.00155, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001922/0.001922, allocations: 214 kB / 22.24 MB, free: 4.855 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.992 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.127/3.127, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [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.002006/0.002006, allocations: 64.89 kB / 1.153 GB, free: 25.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01826/0.3267, allocations: 13.51 MB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005919/0.3326, allocations: 3.394 MB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005998/0.3332, allocations: 23.81 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.334, allocations: 202.7 kB / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.3361, allocations: 0.6322 MB / 1.342 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3373, allocations: 398 kB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.339, allocations: 1.116 MB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.3395, allocations: 253 kB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.3408, allocations: 454.3 kB / 1.345 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.3414, allocations: 306.5 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.422e-05/0.3415, allocations: 36 kB / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.3421, allocations: 211.6 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.3422, allocations: 99.55 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.3425, allocations: 171.3 kB / 1.345 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.3435, allocations: 0.6149 MB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3435, allocations: 4 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3435, allocations: 0 / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3435, allocations: 0 / 1.346 GB, free: 12.94 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.001345/0.3449, allocations: 0.6855 MB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3449, allocations: 8.031 kB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.574e-05/0.345, allocations: 66.72 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.3452, allocations: 48.66 kB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.346, allocations: 400.8 kB / 1.347 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.3461, allocations: 28.55 kB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.3461, allocations: 32 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006945/0.3468, allocations: 412 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.3468, allocations: 3.953 kB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.3469, allocations: 12 kB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.3469, allocations: 8 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/0.3474, allocations: 197.8 kB / 1.348 GB, free: 10.95 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.001867/0.3493, allocations: 1.135 MB / 1.349 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.3497, allocations: 146.6 kB / 1.349 GB, free: 9.594 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.3499, allocations: 64.81 kB / 1.349 GB, free: 9.527 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.35, allocations: 12 kB / 1.349 GB, free: 9.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.3503, allocations: 232.7 kB / 1.349 GB, free: 9.254 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.3504, allocations: 7.938 kB / 1.349 GB, free: 9.246 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006773/0.351, allocations: 237.2 kB / 1.35 GB, free: 9.008 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3511, allocations: 55.39 kB / 1.35 GB, free: 8.941 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.3515, allocations: 353.6 kB / 1.35 GB, free: 8.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3515, allocations: 29.7 kB / 1.35 GB, free: 8.555 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3517, allocations: 224.1 kB / 1.35 GB, free: 8.332 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.3518, allocations: 55.53 kB / 1.35 GB, free: 8.277 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.3519, allocations: 57.66 kB / 1.35 GB, free: 8.215 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.352, allocations: 342.8 kB / 1.351 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3523, allocations: 93.66 kB / 1.351 GB, free: 7.773 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.3525, allocations: 175 kB / 1.351 GB, free: 7.562 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.353, allocations: 252.7 kB / 1.351 GB, free: 7.277 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.353, allocations: 0 / 1.351 GB, free: 7.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000667/0.3537, allocations: 350 kB / 1.351 GB, free: 6.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.3537, allocations: 37.69 kB / 1.351 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3537, allocations: 4 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3537, allocations: 7.938 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.354, allocations: 52.22 kB / 1.352 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.354, allocations: 8 kB / 1.352 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.3542, allocations: 31.83 kB / 1.352 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3543, allocations: 16 kB / 1.352 GB, free: 6.758 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.0001916/0.3545, allocations: 162.2 kB / 1.352 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.3545, allocations: 31.81 kB / 1.352 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.355, allocations: 192.4 kB / 1.352 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.355, allocations: 3.938 kB / 1.352 GB, free: 6.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.355, allocations: 4 kB / 1.352 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005449/0.3556, allocations: 489.9 kB / 1.352 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.356, allocations: 292.5 kB / 1.353 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.356, allocations: 0 / 1.353 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3562, allocations: 31.97 kB / 1.353 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3562, allocations: 0 / 1.353 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3562, allocations: 4 kB / 1.353 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.3562, allocations: 3.938 kB / 1.353 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3562, allocations: 7.938 kB / 1.353 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.3568, allocations: 284.7 kB / 1.353 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.357, allocations: 55.97 kB / 1.353 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.357, allocations: 4 kB / 1.353 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.3572, allocations: 15.92 kB / 1.353 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.3573, allocations: 19.97 kB / 1.353 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.3573, allocations: 7.984 kB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002837/0.3576, allocations: 255.2 kB / 1.353 GB, free: 4.773 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 0 / 1.353 GB, free: 4.773 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004359/0.358, allocations: 119.8 kB / 1.353 GB, free: 4.656 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.001208/0.3592, allocations: 0.9172 MB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.3597, allocations: 241.3 kB / 1.355 GB, free: 3.457 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3598, allocations: 4.188 kB / 1.355 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.3599, allocations: 67.89 kB / 1.355 GB, free: 3.387 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.3609, allocations: 220.4 kB / 1.355 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.3654, allocations: 3.177 MB / 1.358 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3656, allocations: 185.6 kB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.3659, allocations: 75.11 kB / 1.358 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.3661, allocations: 123.3 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.3661, allocations: 4 kB / 1.358 GB, free: 15.44 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.4087, allocations: 11.56 MB / 1.37 GB, free: 4.195 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.72, allocations: 3.984 kB / 1.37 GB, free: 4.191 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv","/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] "Error: Could not read variable vol.T in file Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! Error: Could not read variable expVes.port_a.p in file Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv. Warning: Get data of variable expVes.port_a.p from file Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.277782266959548]