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.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.001896/0.001896, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002494/0.002494, allocations: 215.1 kB / 22.25 MB, free: 5.113 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.963/2.963, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002057/0.002057, allocations: 68.25 kB / 1.117 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2988, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01877/0.3175, allocations: 14.78 MB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006244/0.3238, allocations: 3.666 MB / 1.301 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006013/0.3244, allocations: 23.81 kB / 1.301 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007631/0.3252, allocations: 214.6 kB / 1.302 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.327, allocations: 0.6259 MB / 1.302 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3282, allocations: 418 kB / 1.303 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.3299, allocations: 1.127 MB / 1.304 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.3304, allocations: 257 kB / 1.304 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.3316, allocations: 412.8 kB / 1.304 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.3321, allocations: 334.5 kB / 1.305 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.3322, allocations: 36 kB / 1.305 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007441/0.3329, allocations: 287.4 kB / 1.305 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3331, allocations: 95.66 kB / 1.305 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.3333, allocations: 214.9 kB / 1.305 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3344, allocations: 0.615 MB / 1.306 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3344, allocations: 0 / 1.306 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3344, allocations: 0 / 1.306 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3344, allocations: 0 / 1.306 GB, free: 4.461 MB / 0.9981 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.001365/0.3358, allocations: 0.6834 MB / 1.307 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3358, allocations: 12.02 kB / 1.307 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.993e-05/0.3359, allocations: 62.72 kB / 1.307 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.3361, allocations: 60.53 kB / 1.307 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.337, allocations: 400.7 kB / 1.307 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.337, allocations: 24.62 kB / 1.307 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.337, allocations: 28 kB / 1.307 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3377, allocations: 305.3 kB / 1.307 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3377, allocations: 7.938 kB / 1.307 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.3377, allocations: 8 kB / 1.307 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.3378, allocations: 8 kB / 1.307 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.3383, allocations: 193.8 kB / 1.308 GB, free: 2.602 MB / 0.9981 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.002184/0.3404, allocations: 1.433 MB / 1.309 GB, free: 1.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.3409, allocations: 146.6 kB / 1.309 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.3411, allocations: 64.77 kB / 1.309 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.3412, allocations: 7.984 kB / 1.309 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.3416, allocations: 130 kB / 1.309 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.3416, allocations: 0 / 1.309 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007213/0.3423, allocations: 237.2 kB / 1.31 GB, free: 464 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3423, allocations: 59.34 kB / 1.31 GB, free: 392 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.3428, allocations: 357.6 kB / 1.31 GB, free: 32 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.3429, allocations: 29.78 kB / 1.31 GB, free: 15.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.3431, allocations: 220.1 kB / 1.31 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.3431, allocations: 55.5 kB / 1.31 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.3432, allocations: 53.69 kB / 1.31 GB, free: 15.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3434, allocations: 338.8 kB / 1.311 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.3436, allocations: 71.95 kB / 1.311 GB, free: 15.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.3439, allocations: 151.1 kB / 1.311 GB, free: 15.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.3444, allocations: 250.9 kB / 1.311 GB, free: 14.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3444, allocations: 3.938 kB / 1.311 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006751/0.345, allocations: 304.9 kB / 1.311 GB, free: 14.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.3451, allocations: 40.19 kB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3451, allocations: 8 kB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.3451, allocations: 7.938 kB / 1.311 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.3454, allocations: 55.91 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.3454, allocations: 7.938 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.3456, allocations: 35.77 kB / 1.312 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.3457, allocations: 12 kB / 1.312 GB, free: 14.31 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.0002112/0.3459, allocations: 157.8 kB / 1.312 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.346, allocations: 35.81 kB / 1.312 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.3465, allocations: 196.4 kB / 1.312 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3465, allocations: 3.938 kB / 1.312 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3465, allocations: 4 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005813/0.3471, allocations: 490.6 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.3476, allocations: 324.4 kB / 1.313 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3476, allocations: 8 kB / 1.313 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.3478, allocations: 31.97 kB / 1.313 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3478, allocations: 4 kB / 1.313 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3478, allocations: 0 / 1.313 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.3478, allocations: 3.938 kB / 1.313 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3478, allocations: 0 / 1.313 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.3485, allocations: 296.5 kB / 1.313 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.3487, allocations: 47.77 kB / 1.313 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.3488, allocations: 8 kB / 1.313 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.349, allocations: 15.92 kB / 1.313 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.349, allocations: 15.97 kB / 1.313 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.3491, allocations: 11.98 kB / 1.313 GB, free: 12.53 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003085/0.3494, allocations: 247.2 kB / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3494, allocations: 0 / 1.313 GB, free: 12.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005056/0.3499, allocations: 131.7 kB / 1.313 GB, free: 12.16 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.001299/0.3512, allocations: 0.9011 MB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005786/0.3518, allocations: 222.5 kB / 1.315 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3518, allocations: 0 / 1.315 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.3519, allocations: 63.89 kB / 1.315 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.353, allocations: 224.5 kB / 1.315 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.3581, allocations: 3.063 MB / 1.318 GB, free: 7.516 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.3586, allocations: 0.7957 MB / 1.319 GB, free: 6.695 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003186/0.3589, allocations: 63.19 kB / 1.319 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3591, allocations: 123.3 kB / 1.319 GB, free: 6.512 MB / 1.014 GB Notification: Performance of SimCode: time 1.583e-06/0.3591, allocations: 3.938 kB / 1.319 GB, free: 6.508 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.4033, allocations: 10.48 MB / 1.329 GB, free: 12.26 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.45, allocations: 7.25 kB / 1.329 GB, free: 12.26 MB / 1.029 GB " [Timeout remaining time 287] (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: 19.46104301500054]