Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.124/3.124, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.8 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3384, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.02013/0.3585, allocations: 14.56 MB / 1.318 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005877/0.3644, allocations: 3.667 MB / 1.322 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.3647, allocations: 19.88 kB / 1.322 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.3655, allocations: 210.7 kB / 1.322 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.367, allocations: 0.6142 MB / 1.323 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009471/0.3679, allocations: 398.9 kB / 1.323 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.3696, allocations: 1.087 MB / 1.324 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.3701, allocations: 276.9 kB / 1.324 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.3712, allocations: 442.3 kB / 1.325 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.3717, allocations: 322.6 kB / 1.325 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.3717, allocations: 32 kB / 1.325 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.3723, allocations: 267.4 kB / 1.325 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3724, allocations: 103.7 kB / 1.325 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.3726, allocations: 214.9 kB / 1.326 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008816/0.3735, allocations: 0.5916 MB / 1.326 GB, free: 10.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3735, allocations: 0 / 1.326 GB, free: 10.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3735, allocations: 0 / 1.326 GB, free: 10.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3735, allocations: 0 / 1.326 GB, free: 10.73 MB / 1.029 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.001336/0.3749, allocations: 0.7569 MB / 1.327 GB, free: 9.922 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3749, allocations: 8.625 kB / 1.327 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.375, allocations: 66.73 kB / 1.327 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.3752, allocations: 48.69 kB / 1.327 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008571/0.3761, allocations: 467.9 kB / 1.327 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3761, allocations: 24.69 kB / 1.327 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/0.3762, allocations: 24 kB / 1.328 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.3768, allocations: 310.2 kB / 1.328 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3768, allocations: 4 kB / 1.328 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3768, allocations: 16 kB / 1.328 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.3769, allocations: 8 kB / 1.328 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.3773, allocations: 190.1 kB / 1.328 GB, free: 8.715 MB / 1.029 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.002105/0.3795, allocations: 1.489 MB / 1.329 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/0.3799, allocations: 158.6 kB / 1.33 GB, free: 6.934 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3801, allocations: 60.81 kB / 1.33 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.3802, allocations: 89.05 kB / 1.33 GB, free: 6.766 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.3805, allocations: 135.2 kB / 1.33 GB, free: 6.621 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3805, allocations: 0 / 1.33 GB, free: 6.621 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.000647/0.3812, allocations: 227.7 kB / 1.33 GB, free: 6.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3812, allocations: 55.41 kB / 1.33 GB, free: 6.328 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.3817, allocations: 357.6 kB / 1.331 GB, free: 5.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.3817, allocations: 29.7 kB / 1.331 GB, free: 5.941 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3819, allocations: 216.1 kB / 1.331 GB, free: 5.727 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.3819, allocations: 55.53 kB / 1.331 GB, free: 5.672 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.382, allocations: 57.69 kB / 1.331 GB, free: 5.609 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3823, allocations: 338.8 kB / 1.331 GB, free: 5.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.3825, allocations: 67.95 kB / 1.331 GB, free: 5.203 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.3828, allocations: 154.8 kB / 1.331 GB, free: 5.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.3833, allocations: 248.3 kB / 1.332 GB, free: 4.738 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3833, allocations: 0 / 1.332 GB, free: 4.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006923/0.384, allocations: 312.4 kB / 1.332 GB, free: 4.422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.3841, allocations: 37.69 kB / 1.332 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3841, allocations: 7.938 kB / 1.332 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3841, allocations: 7.938 kB / 1.332 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.3844, allocations: 56.22 kB / 1.332 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3844, allocations: 4 kB / 1.332 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3846, allocations: 31.83 kB / 1.332 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.3847, allocations: 16 kB / 1.332 GB, free: 4.258 MB / 1.029 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.0001838/0.3848, allocations: 169.6 kB / 1.332 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.3849, allocations: 31.81 kB / 1.332 GB, free: 4.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.3854, allocations: 204.4 kB / 1.332 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.3854, allocations: 3.938 kB / 1.332 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3854, allocations: 0 / 1.332 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005464/0.3859, allocations: 479.8 kB / 1.333 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.3865, allocations: 361.3 kB / 1.333 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3865, allocations: 0 / 1.333 GB, free: 2.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3867, allocations: 27.92 kB / 1.333 GB, free: 2.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3867, allocations: 4 kB / 1.333 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3867, allocations: 15.92 kB / 1.333 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3867, allocations: 3.938 kB / 1.333 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3867, allocations: 4 kB / 1.333 GB, free: 2.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.3875, allocations: 279 kB / 1.334 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.3877, allocations: 124.9 kB / 1.334 GB, free: 2.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.3877, allocations: 11.98 kB / 1.334 GB, free: 2.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3879, allocations: 19.92 kB / 1.334 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.388, allocations: 15.98 kB / 1.334 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.388, allocations: 7.984 kB / 1.334 GB, free: 2.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002817/0.3883, allocations: 247.2 kB / 1.334 GB, free: 2.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3883, allocations: 0 / 1.334 GB, free: 2.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004715/0.3888, allocations: 127.7 kB / 1.334 GB, free: 1.977 MB / 1.029 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.001191/0.39, allocations: 0.9048 MB / 1.335 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.3905, allocations: 229.5 kB / 1.335 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3905, allocations: 0 / 1.335 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.3907, allocations: 67.83 kB / 1.335 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.3917, allocations: 208.5 kB / 1.335 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.3967, allocations: 3.07 MB / 1.338 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.3973, allocations: 0.792 MB / 1.339 GB, free: 12.5 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002733/0.3976, allocations: 59.25 kB / 1.339 GB, free: 12.45 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.3977, allocations: 119.4 kB / 1.339 GB, free: 12.33 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.3977, allocations: 4 kB / 1.339 GB, free: 12.33 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.4406, allocations: 10.25 MB / 1.349 GB, free: 2.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/9.542, allocations: 14.22 kB / 1.349 GB, free: 2.258 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.134437147062272]