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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 103.4 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 489.7 MB / 0.7761 GB, free: 33.73 MB / 0.6231 GB [Timeout remaining time 87] 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: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 65.78 kB / 1.127 GB, free: 36.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3009, allocations: 172.1 MB / 1.295 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01733/0.3182, allocations: 14.57 MB / 1.309 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005633/0.3238, allocations: 3.654 MB / 1.313 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.3243, allocations: 23.88 kB / 1.313 GB, free: 9.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.325, allocations: 214.6 kB / 1.313 GB, free: 9.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.3265, allocations: 0.6025 MB / 1.313 GB, free: 8.625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009576/0.3275, allocations: 415 kB / 1.314 GB, free: 8.223 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.3289, allocations: 1.087 MB / 1.315 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.3293, allocations: 268.5 kB / 1.315 GB, free: 6.863 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.3304, allocations: 440 kB / 1.316 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.3308, allocations: 322.6 kB / 1.316 GB, free: 6.117 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.3309, allocations: 32 kB / 1.316 GB, free: 6.086 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.3315, allocations: 267.5 kB / 1.316 GB, free: 5.824 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3316, allocations: 103.6 kB / 1.316 GB, free: 5.723 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.3318, allocations: 211 kB / 1.316 GB, free: 5.516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008909/0.3327, allocations: 0.5916 MB / 1.317 GB, free: 4.922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3327, allocations: 0 / 1.317 GB, free: 4.922 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3327, allocations: 3.938 kB / 1.317 GB, free: 4.918 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3327, allocations: 0 / 1.317 GB, free: 4.918 MB / 1.014 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.001224/0.334, allocations: 0.757 MB / 1.318 GB, free: 4.105 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.334, allocations: 12.03 kB / 1.318 GB, free: 4.094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.3342, allocations: 48.66 kB / 1.318 GB, free: 4.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.335, allocations: 471.9 kB / 1.318 GB, free: 3.543 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.335, allocations: 20.94 kB / 1.318 GB, free: 3.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/0.3351, allocations: 31.89 kB / 1.318 GB, free: 3.492 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.3357, allocations: 314.2 kB / 1.319 GB, free: 3.168 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3357, allocations: 0 / 1.319 GB, free: 3.168 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.3358, allocations: 12 kB / 1.319 GB, free: 3.156 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.3358, allocations: 8 kB / 1.319 GB, free: 3.148 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.3363, allocations: 190.1 kB / 1.319 GB, free: 2.957 MB / 1.014 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.002073/0.3384, allocations: 1.497 MB / 1.32 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.3388, allocations: 146.6 kB / 1.32 GB, free: 1.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.339, allocations: 64.81 kB / 1.321 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.3391, allocations: 89.11 kB / 1.321 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.3395, allocations: 127.2 kB / 1.321 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3395, allocations: 0 / 1.321 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0006516/0.3401, allocations: 231 kB / 1.321 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.3402, allocations: 59.34 kB / 1.321 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.3406, allocations: 357.6 kB / 1.321 GB, free: 224 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3406, allocations: 25.7 kB / 1.321 GB, free: 192 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3408, allocations: 216.1 kB / 1.322 GB, free: 15.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.3408, allocations: 59.52 kB / 1.322 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.3409, allocations: 61.66 kB / 1.322 GB, free: 15.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3411, allocations: 342.8 kB / 1.322 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.3413, allocations: 67.95 kB / 1.322 GB, free: 15.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.3415, allocations: 157.3 kB / 1.322 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.342, allocations: 253.4 kB / 1.322 GB, free: 14.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.342, allocations: 0 / 1.322 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006106/0.3426, allocations: 313 kB / 1.323 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.3427, allocations: 30.02 kB / 1.323 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3427, allocations: 8 kB / 1.323 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3427, allocations: 4 kB / 1.323 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.3429, allocations: 59.83 kB / 1.323 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3429, allocations: 4 kB / 1.323 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.3432, allocations: 35.83 kB / 1.323 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.3432, allocations: 12 kB / 1.323 GB, free: 14.49 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.0001798/0.3434, allocations: 162.2 kB / 1.323 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.3434, allocations: 39.77 kB / 1.323 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/0.3439, allocations: 200.4 kB / 1.323 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3439, allocations: 3.938 kB / 1.323 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3439, allocations: 3.938 kB / 1.323 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005589/0.3445, allocations: 485.8 kB / 1.324 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.345, allocations: 357.4 kB / 1.324 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.345, allocations: 4 kB / 1.324 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3451, allocations: 31.92 kB / 1.324 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3451, allocations: 0 / 1.324 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3452, allocations: 4 kB / 1.324 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3452, allocations: 3.938 kB / 1.324 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3452, allocations: 0 / 1.324 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.3458, allocations: 290.7 kB / 1.324 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3459, allocations: 120.9 kB / 1.325 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.346, allocations: 4 kB / 1.325 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.3462, allocations: 23.91 kB / 1.325 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.3463, allocations: 15.98 kB / 1.325 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.3463, allocations: 7.984 kB / 1.325 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000277/0.3466, allocations: 247.2 kB / 1.325 GB, free: 12.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 0 / 1.325 GB, free: 12.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004545/0.347, allocations: 131.7 kB / 1.325 GB, free: 12.21 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.0003585/0.3474, allocations: 191 kB / 1.325 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005241/0.3479, allocations: 223.1 kB / 1.325 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3479, allocations: 0 / 1.325 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3481, allocations: 74.2 kB / 1.325 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.349, allocations: 202.6 kB / 1.326 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3505, allocations: 0.7706 MB / 1.326 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.351, allocations: 0.7918 MB / 1.327 GB, free: 9.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.351, allocations: 31.44 kB / 1.327 GB, free: 9.875 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.351, allocations: 0 / 1.327 GB, free: 9.875 MB / 1.029 GB Notification: Performance of Templates: time 0.01004/0.3611, allocations: 6.204 MB / 1.333 GB, free: 3.719 MB / 1.029 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] 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/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