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.001845/0.001845, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002263/0.002263, allocations: 212 kB / 20.13 MB, free: 2.949 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.848/2.848, allocations: 476.7 MB / 0.7679 GB, free: 9.367 MB / 0.6075 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",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.002221/0.002221, allocations: 71.84 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9005/0.9027, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01847/0.9211, allocations: 14.66 MB / 1.293 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006274/0.9274, allocations: 3.657 MB / 1.297 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.9281, allocations: 24.88 kB / 1.297 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.9289, allocations: 209.7 kB / 1.297 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.9307, allocations: 0.621 MB / 1.298 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.9318, allocations: 389.2 kB / 1.298 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.9335, allocations: 1.085 MB / 1.299 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.934, allocations: 264.7 kB / 1.299 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.9351, allocations: 410 kB / 1.3 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.9357, allocations: 327.3 kB / 1.3 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.9357, allocations: 32.53 kB / 1.3 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007577/0.9365, allocations: 279.6 kB / 1.3 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.9366, allocations: 102.4 kB / 1.3 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.9369, allocations: 222.1 kB / 1.301 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.938, allocations: 0.6101 MB / 1.301 GB, free: 12.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.938, allocations: 0.7031 kB / 1.301 GB, free: 12.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.332e-06/0.938, allocations: 0 / 1.301 GB, free: 12.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.938, allocations: 1.312 kB / 1.301 GB, free: 12.45 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.001396/0.9394, allocations: 0.7609 MB / 1.302 GB, free: 11.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9394, allocations: 16.75 kB / 1.302 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.9394, allocations: 7.422 kB / 1.302 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.66e-05/0.9395, allocations: 62.52 kB / 1.302 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.9397, allocations: 50.12 kB / 1.302 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.9406, allocations: 466.9 kB / 1.303 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.9406, allocations: 23.88 kB / 1.303 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.9406, allocations: 26.42 kB / 1.303 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.9413, allocations: 312.5 kB / 1.303 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.9413, allocations: 5.125 kB / 1.303 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.9414, allocations: 11.25 kB / 1.303 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.9414, allocations: 7.359 kB / 1.303 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.9419, allocations: 195.6 kB / 1.303 GB, free: 11.15 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.002149/0.944, allocations: 1.483 MB / 1.305 GB, free: 9.953 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.9445, allocations: 147.6 kB / 1.305 GB, free: 9.891 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.9447, allocations: 62 kB / 1.305 GB, free: 9.867 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.9449, allocations: 86.53 kB / 1.305 GB, free: 9.773 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.9452, allocations: 137.8 kB / 1.305 GB, free: 9.695 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.9452, allocations: 0 / 1.305 GB, free: 9.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0007376/0.946, allocations: 236.3 kB / 1.305 GB, free: 9.598 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.946, allocations: 54.52 kB / 1.305 GB, free: 9.535 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.9465, allocations: 355.8 kB / 1.306 GB, free: 9.352 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.9465, allocations: 31.89 kB / 1.306 GB, free: 9.316 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.9467, allocations: 221 kB / 1.306 GB, free: 9.133 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.9468, allocations: 50.75 kB / 1.306 GB, free: 9.094 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.9469, allocations: 50.38 kB / 1.306 GB, free: 9.062 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.947, allocations: 340.6 kB / 1.306 GB, free: 8.738 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.9472, allocations: 69.69 kB / 1.306 GB, free: 8.719 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.9475, allocations: 160.6 kB / 1.306 GB, free: 8.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.948, allocations: 248 kB / 1.307 GB, free: 8.406 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.948, allocations: 0 / 1.307 GB, free: 8.406 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000735/0.9488, allocations: 309.3 kB / 1.307 GB, free: 8.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.9488, allocations: 33.41 kB / 1.307 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9488, allocations: 7.906 kB / 1.307 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.822e-05/0.9489, allocations: 7.625 kB / 1.307 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.9491, allocations: 59.03 kB / 1.307 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.9491, allocations: 8.016 kB / 1.307 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.9495, allocations: 37.3 kB / 1.307 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.9495, allocations: 10.16 kB / 1.307 GB, free: 8.188 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.0002391/0.9497, allocations: 157 kB / 1.307 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.9498, allocations: 39.77 kB / 1.307 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.9504, allocations: 195 kB / 1.308 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9504, allocations: 2.031 kB / 1.308 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9504, allocations: 3.938 kB / 1.308 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005987/0.951, allocations: 495 kB / 1.308 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.9516, allocations: 348.6 kB / 1.308 GB, free: 7.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9516, allocations: 5.562 kB / 1.308 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.9518, allocations: 33.58 kB / 1.308 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9518, allocations: 1.094 kB / 1.308 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.9518, allocations: 6.75 kB / 1.308 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.9518, allocations: 1.281 kB / 1.308 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9518, allocations: 0 / 1.308 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007541/0.9526, allocations: 295.7 kB / 1.309 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.9528, allocations: 124.4 kB / 1.309 GB, free: 6.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.9528, allocations: 11.28 kB / 1.309 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.9531, allocations: 12.98 kB / 1.309 GB, free: 6.902 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.9532, allocations: 17.08 kB / 1.309 GB, free: 6.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.9532, allocations: 7.656 kB / 1.309 GB, free: 6.898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002992/0.9535, allocations: 246 kB / 1.309 GB, free: 6.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9535, allocations: 0 / 1.309 GB, free: 6.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005255/0.954, allocations: 129.9 kB / 1.309 GB, free: 6.738 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.001321/0.9553, allocations: 0.9144 MB / 1.31 GB, free: 6.027 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006446/0.956, allocations: 224.6 kB / 1.31 GB, free: 5.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.956, allocations: 0 / 1.31 GB, free: 5.914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.9562, allocations: 64.19 kB / 1.31 GB, free: 5.898 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.9574, allocations: 220.5 kB / 1.311 GB, free: 5.832 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.9624, allocations: 3.057 MB / 1.314 GB, free: 3.785 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.9628, allocations: 0.7906 MB / 1.314 GB, free: 3.078 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.9632, allocations: 67.66 kB / 1.314 GB, free: 3.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.9634, allocations: 123.1 kB / 1.315 GB, free: 2.969 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.9634, allocations: 0 / 1.315 GB, free: 2.969 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.9955, allocations: 10.28 MB / 1.325 GB, free: 15.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.777/10.77, allocations: 8.797 kB / 1.325 GB, free: 15.77 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.111145557952113]