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.001938/0.001938, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.002029/0.002029, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.979/2.979, allocations: 0.49 GB / 0.7923 GB, free: 1.27 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_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.002162/0.002162, allocations: 71.89 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8641/0.8663, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01235/0.8786, allocations: 14.66 MB / 1.336 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004962/0.8836, allocations: 3.659 MB / 1.339 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.8848, allocations: 24.44 kB / 1.339 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009843/0.8858, allocations: 216.7 kB / 1.34 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.8878, allocations: 0.6162 MB / 1.34 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.8888, allocations: 397.1 kB / 1.341 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.8905, allocations: 1.089 MB / 1.342 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.8909, allocations: 264.5 kB / 1.342 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.8921, allocations: 442.2 kB / 1.342 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.8925, allocations: 329.9 kB / 1.343 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.8926, allocations: 36.84 kB / 1.343 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006732/0.8932, allocations: 274.5 kB / 1.343 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.8933, allocations: 103 kB / 1.343 GB, free: 9.789 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.8935, allocations: 218 kB / 1.343 GB, free: 9.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009237/0.8945, allocations: 0.6187 MB / 1.344 GB, free: 9.422 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8945, allocations: 0.5625 kB / 1.344 GB, free: 9.422 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8945, allocations: 1.312 kB / 1.344 GB, free: 9.422 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.8945, allocations: 0 / 1.344 GB, free: 9.422 MB / 1.061 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.001288/0.8958, allocations: 0.766 MB / 1.345 GB, free: 8.801 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.8958, allocations: 14.11 kB / 1.345 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.383e-05/0.8959, allocations: 6.906 kB / 1.345 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.959e-05/0.8959, allocations: 66.62 kB / 1.345 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.8962, allocations: 51.69 kB / 1.345 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.8969, allocations: 474 kB / 1.345 GB, free: 8.367 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.8969, allocations: 23.86 kB / 1.345 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.897, allocations: 30.14 kB / 1.345 GB, free: 8.344 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.8977, allocations: 308.1 kB / 1.345 GB, free: 8.188 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.8977, allocations: 5.438 kB / 1.346 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.8977, allocations: 7.688 kB / 1.346 GB, free: 8.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.8977, allocations: 11.62 kB / 1.346 GB, free: 8.176 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.8982, allocations: 194.8 kB / 1.346 GB, free: 8.117 MB / 1.061 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.001858/0.9001, allocations: 1.481 MB / 1.347 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.9006, allocations: 142.9 kB / 1.347 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.9008, allocations: 66.58 kB / 1.347 GB, free: 6.836 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.9009, allocations: 86.33 kB / 1.347 GB, free: 6.742 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.9012, allocations: 131.1 kB / 1.348 GB, free: 6.668 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.9012, allocations: 0 / 1.348 GB, free: 6.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0006793/0.9019, allocations: 243 kB / 1.348 GB, free: 6.566 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.9019, allocations: 58.47 kB / 1.348 GB, free: 6.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.9023, allocations: 351.3 kB / 1.348 GB, free: 6.316 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.9023, allocations: 28.45 kB / 1.348 GB, free: 6.285 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.9025, allocations: 220.6 kB / 1.348 GB, free: 6.102 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.9025, allocations: 51.86 kB / 1.348 GB, free: 6.062 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.9026, allocations: 58.8 kB / 1.349 GB, free: 6.023 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.9027, allocations: 341 kB / 1.349 GB, free: 5.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.9029, allocations: 72.83 kB / 1.349 GB, free: 5.676 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.9031, allocations: 145.3 kB / 1.349 GB, free: 5.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.9035, allocations: 245.6 kB / 1.349 GB, free: 5.379 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.9035, allocations: 0 / 1.349 GB, free: 5.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006152/0.9041, allocations: 316.7 kB / 1.35 GB, free: 5.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.9042, allocations: 35.62 kB / 1.35 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.9042, allocations: 4.078 kB / 1.35 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.9042, allocations: 7.219 kB / 1.35 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.9044, allocations: 59.67 kB / 1.35 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.9045, allocations: 4.031 kB / 1.35 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.9048, allocations: 36.86 kB / 1.35 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.9048, allocations: 13.33 kB / 1.35 GB, free: 5.156 MB / 1.061 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.0001616/0.9049, allocations: 163.2 kB / 1.35 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.905, allocations: 35.92 kB / 1.35 GB, free: 4.992 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.9055, allocations: 204.2 kB / 1.35 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.9055, allocations: 5.234 kB / 1.35 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9055, allocations: 0.5625 kB / 1.35 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004028/0.9059, allocations: 488.4 kB / 1.351 GB, free: 4.414 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.9064, allocations: 349.5 kB / 1.351 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9064, allocations: 1 kB / 1.351 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.9065, allocations: 33.3 kB / 1.351 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9065, allocations: 0.9688 kB / 1.351 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.9065, allocations: 9.953 kB / 1.351 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.9065, allocations: 1.062 kB / 1.351 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9066, allocations: 0.7969 kB / 1.351 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.9072, allocations: 285.9 kB / 1.351 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.9073, allocations: 130.3 kB / 1.351 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.9073, allocations: 9.703 kB / 1.351 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.9076, allocations: 18.06 kB / 1.351 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/0.9076, allocations: 13.11 kB / 1.351 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.9077, allocations: 10.72 kB / 1.351 GB, free: 3.867 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002504/0.9079, allocations: 251.5 kB / 1.352 GB, free: 3.734 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9079, allocations: 0 / 1.352 GB, free: 3.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005029/0.9084, allocations: 125.1 kB / 1.352 GB, free: 3.707 MB / 1.061 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.001013/0.9094, allocations: 0.903 MB / 1.353 GB, free: 3.004 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.9099, allocations: 223.4 kB / 1.353 GB, free: 2.891 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.91, allocations: 1.125 kB / 1.353 GB, free: 2.891 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.9101, allocations: 68.92 kB / 1.353 GB, free: 2.871 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.9112, allocations: 221.9 kB / 1.353 GB, free: 2.805 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.9154, allocations: 3.063 MB / 1.356 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.9157, allocations: 0.7929 MB / 1.357 GB, free: 48 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003621/0.916, allocations: 68.97 kB / 1.357 GB, free: 24 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.9163, allocations: 118.4 kB / 1.357 GB, free: 15.94 MB / 1.076 GB Notification: Performance of SimCode: time 1.041e-06/0.9163, allocations: 0.9688 kB / 1.357 GB, free: 15.94 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.9523, allocations: 10.27 MB / 1.367 GB, free: 14.85 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.856/9.808, allocations: 8.688 kB / 1.367 GB, free: 14.85 MB / 1.076 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.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: 16.136402431991883]