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.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.0008918/0.0008918, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009898/0.0009898, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8659/0.8659, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.692/1.692, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.665e-06/2.665e-06, allocations: 3.984 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.225e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01023/0.01026, allocations: 13.42 MB / 1.013 GB, free: 52 kB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00355/0.01381, allocations: 3.393 MB / 1.016 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.01413, allocations: 31.75 kB / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.01463, allocations: 198.6 kB / 1.016 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009891/0.01562, allocations: 0.6487 MB / 1.017 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.0162, allocations: 414.4 kB / 1.017 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.01709, allocations: 1.116 MB / 1.018 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.0174, allocations: 252.9 kB / 1.019 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008539/0.01826, allocations: 0.5609 MB / 1.019 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.01852, allocations: 275.1 kB / 1.019 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.01856, allocations: 35.98 kB / 1.019 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.01888, allocations: 219.4 kB / 1.02 GB, free: 8.914 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.01896, allocations: 111.5 kB / 1.02 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.01908, allocations: 147.7 kB / 1.02 GB, free: 8.66 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.01965, allocations: 0.6037 MB / 1.021 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01965, allocations: 4 kB / 1.021 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01965, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.01966, allocations: 3.938 kB / 1.021 GB, free: 8.047 MB / 0.9792 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.0008145/0.02047, allocations: 0.6837 MB / 1.021 GB, free: 7.328 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.02051, allocations: 12.75 kB / 1.021 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.316e-05/0.02057, allocations: 62.73 kB / 1.021 GB, free: 7.246 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.0207, allocations: 48.69 kB / 1.021 GB, free: 7.199 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.02127, allocations: 408 kB / 1.022 GB, free: 6.773 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.02129, allocations: 20.88 kB / 1.022 GB, free: 6.75 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.02133, allocations: 24.38 kB / 1.022 GB, free: 6.727 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.02175, allocations: 416.2 kB / 1.022 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.02176, allocations: 3.984 kB / 1.022 GB, free: 6.273 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.02179, allocations: 12 kB / 1.022 GB, free: 6.262 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.02181, allocations: 8 kB / 1.022 GB, free: 6.254 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.02208, allocations: 193.8 kB / 1.022 GB, free: 6.066 MB / 0.9792 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.001236/0.02332, allocations: 1.151 MB / 1.023 GB, free: 4.852 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.0236, allocations: 154.6 kB / 1.024 GB, free: 4.691 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.02369, allocations: 60.81 kB / 1.024 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-05/0.02379, allocations: 15.92 kB / 1.024 GB, free: 4.613 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.02401, allocations: 228.1 kB / 1.024 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.02401, allocations: 0 / 1.024 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0003917/0.0244, allocations: 237.3 kB / 1.024 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.02444, allocations: 51.41 kB / 1.024 GB, free: 4.055 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.02486, allocations: 365.5 kB / 1.025 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.02488, allocations: 29.7 kB / 1.025 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.025, allocations: 216.1 kB / 1.025 GB, free: 3.441 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.02504, allocations: 59.52 kB / 1.025 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.0251, allocations: 53.66 kB / 1.025 GB, free: 3.324 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.02523, allocations: 342.8 kB / 1.025 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.02536, allocations: 93.66 kB / 1.025 GB, free: 2.883 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.02551, allocations: 187.1 kB / 1.025 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.02578, allocations: 246.9 kB / 1.026 GB, free: 2.379 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.02578, allocations: 0 / 1.026 GB, free: 2.379 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000383/0.02617, allocations: 334.8 kB / 1.026 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.02621, allocations: 39.41 kB / 1.026 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.02622, allocations: 4.312 kB / 1.026 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.02624, allocations: 8 kB / 1.026 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.02637, allocations: 55.91 kB / 1.026 GB, free: 1.926 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.02638, allocations: 7.938 kB / 1.026 GB, free: 1.918 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.02651, allocations: 39.7 kB / 1.026 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.02652, allocations: 12 kB / 1.026 GB, free: 1.867 MB / 0.9792 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.0001192/0.02664, allocations: 157.8 kB / 1.026 GB, free: 1.703 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.02668, allocations: 35.77 kB / 1.026 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.02695, allocations: 198.3 kB / 1.027 GB, free: 1.465 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02696, allocations: 3.938 kB / 1.027 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.02696, allocations: 0 / 1.027 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002702/0.02723, allocations: 491.6 kB / 1.027 GB, free: 0.8945 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.02749, allocations: 288.5 kB / 1.027 GB, free: 0.5703 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0275, allocations: 4 kB / 1.027 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.02758, allocations: 27.97 kB / 1.027 GB, free: 0.5391 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.02759, allocations: 12 kB / 1.027 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.0276, allocations: 4 kB / 1.027 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.0276, allocations: 3.938 kB / 1.027 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.0276, allocations: 0 / 1.027 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.02826, allocations: 290.5 kB / 1.028 GB, free: 224 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.02834, allocations: 47.83 kB / 1.028 GB, free: 176 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.02836, allocations: 4 kB / 1.028 GB, free: 172 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.02847, allocations: 19.98 kB / 1.028 GB, free: 152 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.02853, allocations: 15.97 kB / 1.028 GB, free: 136 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.02855, allocations: 15.92 kB / 1.028 GB, free: 120 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000174/0.02872, allocations: 247.2 kB / 1.028 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.02872, allocations: 0 / 1.028 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003063/0.02903, allocations: 127.7 kB / 1.028 GB, free: 15.75 MB / 0.9948 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.0007553/0.02978, allocations: 0.8972 MB / 1.029 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.0301, allocations: 254.7 kB / 1.029 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0301, allocations: 0 / 1.029 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.0302, allocations: 71.89 kB / 1.029 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.03077, allocations: 216.6 kB / 1.03 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.03348, allocations: 3.1 MB / 1.033 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.03359, allocations: 177.8 kB / 1.033 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002081/0.0338, allocations: 67.23 kB / 1.033 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.03393, allocations: 120.5 kB / 1.033 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of SimCode: time 1.102e-06/0.03393, allocations: 0 / 1.033 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.05913, allocations: 11.66 MB / 1.044 GB, free: 15.27 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/6.702, allocations: 12.44 kB / 1.044 GB, free: 15.27 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.575405257754028]