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.001239/0.001239, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00144/0.00144, allocations: 220.2 kB / 22.25 MB, free: 5.102 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.793 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.963/2.963, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",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.001927/0.001927, allocations: 67.86 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01555/0.3302, allocations: 13.5 MB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004943/0.3352, allocations: 3.405 MB / 1.342 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.3355, allocations: 27.75 kB / 1.342 GB, free: 464 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005603/0.3361, allocations: 198.7 kB / 1.343 GB, free: 264 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.3374, allocations: 0.6306 MB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/0.3382, allocations: 407.9 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.3395, allocations: 1.134 MB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.3398, allocations: 261 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009823/0.3408, allocations: 451.1 kB / 1.345 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.3413, allocations: 318.6 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.3413, allocations: 32 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.3417, allocations: 223.5 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3419, allocations: 99.59 kB / 1.346 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.342, allocations: 171.2 kB / 1.346 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.3428, allocations: 0.615 MB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3428, allocations: 4 kB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3428, allocations: 0 / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.3428, allocations: 0 / 1.347 GB, free: 11.94 MB / 1.045 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.001123/0.344, allocations: 0.6816 MB / 1.347 GB, free: 11.22 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.344, allocations: 12.03 kB / 1.347 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.615e-05/0.3441, allocations: 58.73 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.3442, allocations: 52.64 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.345, allocations: 400.8 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.345, allocations: 28.61 kB / 1.348 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.345, allocations: 28 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.3456, allocations: 412.1 kB / 1.348 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3457, allocations: 7.953 kB / 1.348 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.3457, allocations: 8 kB / 1.348 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.3457, allocations: 11.94 kB / 1.348 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.3462, allocations: 189.8 kB / 1.349 GB, free: 9.961 MB / 1.045 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.001639/0.3478, allocations: 1.139 MB / 1.35 GB, free: 8.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.3482, allocations: 146.6 kB / 1.35 GB, free: 8.602 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.3484, allocations: 56.83 kB / 1.35 GB, free: 8.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.8e-05/0.3485, allocations: 15.98 kB / 1.35 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.3488, allocations: 230.1 kB / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3488, allocations: 0 / 1.35 GB, free: 8.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0006014/0.3494, allocations: 239 kB / 1.35 GB, free: 8.027 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.3495, allocations: 59.39 kB / 1.35 GB, free: 7.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3498, allocations: 353.6 kB / 1.351 GB, free: 7.605 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3499, allocations: 29.7 kB / 1.351 GB, free: 7.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.35, allocations: 224.1 kB / 1.351 GB, free: 7.348 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.3501, allocations: 59.47 kB / 1.351 GB, free: 7.289 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.949e-05/0.3502, allocations: 57.66 kB / 1.351 GB, free: 7.227 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3503, allocations: 346.7 kB / 1.351 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.3505, allocations: 97.66 kB / 1.352 GB, free: 6.777 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.3508, allocations: 171.1 kB / 1.352 GB, free: 6.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3512, allocations: 248.6 kB / 1.352 GB, free: 6.289 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3512, allocations: 0 / 1.352 GB, free: 6.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006208/0.3519, allocations: 350.2 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.3519, allocations: 33.7 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3519, allocations: 4 kB / 1.352 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3519, allocations: 11.92 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.3522, allocations: 52.22 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3522, allocations: 8 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.3524, allocations: 39.83 kB / 1.352 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.3525, allocations: 15.98 kB / 1.352 GB, free: 5.762 MB / 1.045 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.0001607/0.3526, allocations: 160 kB / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.3527, allocations: 31.81 kB / 1.353 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.3531, allocations: 195 kB / 1.353 GB, free: 5.371 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3531, allocations: 3.938 kB / 1.353 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3531, allocations: 4 kB / 1.353 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005121/0.3536, allocations: 483.7 kB / 1.353 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.3541, allocations: 292.5 kB / 1.354 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3541, allocations: 0 / 1.354 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.3542, allocations: 39.91 kB / 1.354 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3542, allocations: 0 / 1.354 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3543, allocations: 0 / 1.354 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3543, allocations: 3.938 kB / 1.354 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3543, allocations: 8 kB / 1.354 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.3549, allocations: 280.8 kB / 1.354 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.355, allocations: 51.72 kB / 1.354 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.3551, allocations: 7.938 kB / 1.354 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3553, allocations: 19.91 kB / 1.354 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.3553, allocations: 19.92 kB / 1.354 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.3554, allocations: 7.984 kB / 1.354 GB, free: 4.027 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002701/0.3556, allocations: 255.2 kB / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3556, allocations: 0 / 1.354 GB, free: 3.781 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004274/0.3561, allocations: 123.8 kB / 1.354 GB, free: 3.66 MB / 1.045 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.001123/0.3572, allocations: 0.9107 MB / 1.355 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004948/0.3577, allocations: 253.2 kB / 1.355 GB, free: 2.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3577, allocations: 4.188 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.3579, allocations: 71.89 kB / 1.356 GB, free: 2.379 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.3587, allocations: 215.9 kB / 1.356 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.3629, allocations: 3.167 MB / 1.359 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.3631, allocations: 189.6 kB / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.3633, allocations: 67.25 kB / 1.359 GB, free: 14.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3635, allocations: 115.4 kB / 1.359 GB, free: 14.46 MB / 1.061 GB Notification: Performance of SimCode: time 6.01e-07/0.3635, allocations: 7.938 kB / 1.359 GB, free: 14.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.4039, allocations: 11.64 MB / 1.371 GB, free: 3.125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.09, allocations: 8 kB / 1.371 GB, free: 3.117 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.22010898098233]