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.0009068/0.0009068, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008164/0.0008164, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8909/0.8909, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.668/1.668, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9505 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.274e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01266/0.01268, allocations: 13.42 MB / 0.9636 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.01597, allocations: 3.385 MB / 0.9669 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.01625, allocations: 23.81 kB / 0.9669 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.01671, allocations: 206.6 kB / 0.9671 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000954/0.01766, allocations: 0.6448 MB / 0.9677 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.01824, allocations: 417.9 kB / 0.9681 GB, free: 1.406 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009516/0.01919, allocations: 1.109 MB / 0.9692 GB, free: 300 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.01952, allocations: 249 kB / 0.9695 GB, free: 44 kB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007669/0.02029, allocations: 0.519 MB / 0.97 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.02058, allocations: 283.1 kB / 0.9702 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.02062, allocations: 32 kB / 0.9703 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.02093, allocations: 227.3 kB / 0.9705 GB, free: 15 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.183e-05/0.02101, allocations: 107.5 kB / 0.9706 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.02113, allocations: 147.6 kB / 0.9707 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.02171, allocations: 0.6037 MB / 0.9713 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.02171, allocations: 0 / 0.9713 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.243e-06/0.02171, allocations: 0 / 0.9713 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.02172, allocations: 0 / 0.9713 GB, free: 14.14 MB / 0.9323 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.0008276/0.02254, allocations: 0.6893 MB / 0.972 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.02258, allocations: 12.03 kB / 0.972 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.02263, allocations: 62.72 kB / 0.9721 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.02278, allocations: 48.66 kB / 0.9721 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005462/0.02333, allocations: 408 kB / 0.9725 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.02335, allocations: 20.88 kB / 0.9725 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.02339, allocations: 24.38 kB / 0.9725 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.02382, allocations: 416.2 kB / 0.9729 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.02383, allocations: 0 / 0.9729 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.02386, allocations: 16 kB / 0.9729 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.02387, allocations: 12 kB / 0.973 GB, free: 12.33 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.02415, allocations: 197.8 kB / 0.9731 GB, free: 12.14 MB / 0.9323 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.0011/0.02525, allocations: 1.135 MB / 0.9743 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.02554, allocations: 150.6 kB / 0.9744 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.02563, allocations: 60.81 kB / 0.9745 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.608e-05/0.02572, allocations: 8 kB / 0.9745 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.02598, allocations: 230.4 kB / 0.9747 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.02598, allocations: 0 / 0.9747 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0004092/0.02639, allocations: 241.2 kB / 0.9749 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.02643, allocations: 51.41 kB / 0.975 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.02668, allocations: 357.5 kB / 0.9753 GB, free: 9.793 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.0267, allocations: 37.69 kB / 0.9753 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.02681, allocations: 212.1 kB / 0.9755 GB, free: 9.539 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.02685, allocations: 59.52 kB / 0.9756 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.02691, allocations: 57.69 kB / 0.9757 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.027, allocations: 342.8 kB / 0.976 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.02712, allocations: 101.6 kB / 0.9761 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.02726, allocations: 179.5 kB / 0.9762 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.02751, allocations: 252.4 kB / 0.9765 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.02752, allocations: 0 / 0.9765 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003622/0.02788, allocations: 340.8 kB / 0.9768 GB, free: 8.117 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.02791, allocations: 33.7 kB / 0.9768 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02792, allocations: 7.938 kB / 0.9769 GB, free: 8.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.02794, allocations: 4 kB / 0.9769 GB, free: 8.066 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.02807, allocations: 59.89 kB / 0.9769 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.02808, allocations: 7.938 kB / 0.9769 GB, free: 8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.02821, allocations: 35.77 kB / 0.977 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.02823, allocations: 12 kB / 0.977 GB, free: 7.953 MB / 0.9323 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.0001276/0.02836, allocations: 165.8 kB / 0.9771 GB, free: 7.781 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.02839, allocations: 31.81 kB / 0.9772 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.02867, allocations: 195.2 kB / 0.9773 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.02867, allocations: 0 / 0.9773 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.02868, allocations: 0 / 0.9773 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003098/0.02899, allocations: 491.6 kB / 0.9778 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.02935, allocations: 292.5 kB / 0.9781 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02935, allocations: 4 kB / 0.9781 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.02944, allocations: 27.98 kB / 0.9781 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.02944, allocations: 4 kB / 0.9781 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.02946, allocations: 7.984 kB / 0.9781 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.02946, allocations: 3.984 kB / 0.9781 GB, free: 6.613 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.02946, allocations: 4 kB / 0.9781 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.0298, allocations: 284.6 kB / 0.9784 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.02988, allocations: 55.83 kB / 0.9785 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.0299, allocations: 0 / 0.9785 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.03001, allocations: 19.97 kB / 0.9785 GB, free: 6.238 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.03006, allocations: 15.97 kB / 0.9785 GB, free: 6.223 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.03007, allocations: 11.94 kB / 0.9785 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001687/0.03024, allocations: 247.2 kB / 0.9787 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.03024, allocations: 0 / 0.9787 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002817/0.03053, allocations: 127.7 kB / 0.9789 GB, free: 5.848 MB / 0.9323 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.0006568/0.03118, allocations: 0.9175 MB / 0.9798 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.03148, allocations: 242.9 kB / 0.98 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.03148, allocations: 4 kB / 0.98 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.03158, allocations: 67.89 kB / 0.9801 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.0321, allocations: 213.4 kB / 0.9803 GB, free: 4.379 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.03474, allocations: 3.099 MB / 0.9833 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.03485, allocations: 193.8 kB / 0.9835 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.03502, allocations: 63.23 kB / 0.9835 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.03513, allocations: 120.5 kB / 0.9837 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of SimCode: time 6.51e-07/0.03513, allocations: 0 / 0.9837 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.05686, allocations: 11.66 MB / 0.995 GB, free: 5.387 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.249/7.306, allocations: 5.5 kB / 0.995 GB, free: 5.383 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.295404642820358]