Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 104.5 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 188 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9568/0.9587, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01726/0.9761, allocations: 14.45 MB / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005766/0.9819, allocations: 3.652 MB / 1.185 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.9824, allocations: 19.88 kB / 1.185 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.9831, allocations: 206.7 kB / 1.185 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.9847, allocations: 0.6181 MB / 1.186 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.9857, allocations: 391.2 kB / 1.186 GB, free: 424 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.9872, allocations: 1.094 MB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.9877, allocations: 320.5 kB / 1.188 GB, free: 15 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.9888, allocations: 390.5 kB / 1.188 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.9893, allocations: 306.6 kB / 1.188 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.9894, allocations: 32 kB / 1.188 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006192/0.99, allocations: 263.5 kB / 1.188 GB, free: 14.03 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.9902, allocations: 99.61 kB / 1.189 GB, free: 13.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.9904, allocations: 207.1 kB / 1.189 GB, free: 13.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009383/0.9913, allocations: 0.5961 MB / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9914, allocations: 0 / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9914, allocations: 3.938 kB / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9914, allocations: 0 / 1.189 GB, free: 13.13 MB / 0.92 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.001287/0.9927, allocations: 0.753 MB / 1.19 GB, free: 12.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.9927, allocations: 12.62 kB / 1.19 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.993, allocations: 60.64 kB / 1.19 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.9938, allocations: 467.9 kB / 1.191 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.9938, allocations: 20.94 kB / 1.191 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.9939, allocations: 31.94 kB / 1.191 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000635/0.9945, allocations: 306.2 kB / 1.191 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.9946, allocations: 7.938 kB / 1.191 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.9946, allocations: 12 kB / 1.191 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.9946, allocations: 8 kB / 1.191 GB, free: 11.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.9951, allocations: 190.1 kB / 1.191 GB, free: 11.17 MB / 0.92 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.002007/0.9972, allocations: 1.485 MB / 1.193 GB, free: 9.559 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.9976, allocations: 170.5 kB / 1.193 GB, free: 9.383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.9978, allocations: 68.81 kB / 1.193 GB, free: 9.312 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.998, allocations: 89.05 kB / 1.193 GB, free: 9.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.9983, allocations: 130.4 kB / 1.193 GB, free: 9.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 2.475e-06/0.9983, allocations: 0 / 1.193 GB, free: 9.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006736/0.999, allocations: 233.3 kB / 1.193 GB, free: 8.836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.9991, allocations: 59.28 kB / 1.193 GB, free: 8.766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.9995, allocations: 349.7 kB / 1.194 GB, free: 8.418 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.9995, allocations: 29.7 kB / 1.194 GB, free: 8.383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.9997, allocations: 220.1 kB / 1.194 GB, free: 8.164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.9998, allocations: 55.59 kB / 1.194 GB, free: 8.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.9999, allocations: 57.66 kB / 1.194 GB, free: 8.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1, allocations: 338.8 kB / 1.194 GB, free: 7.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1, allocations: 71.95 kB / 1.194 GB, free: 7.637 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/1.001, allocations: 145.4 kB / 1.195 GB, free: 7.461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/1.001, allocations: 249.1 kB / 1.195 GB, free: 7.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.001, allocations: 4 kB / 1.195 GB, free: 7.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006345/1.002, allocations: 309.1 kB / 1.195 GB, free: 6.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/1.002, allocations: 33.7 kB / 1.195 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.002, allocations: 0 / 1.195 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.002, allocations: 4 kB / 1.195 GB, free: 6.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/1.002, allocations: 64.14 kB / 1.195 GB, free: 6.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/1.002, allocations: 11.94 kB / 1.195 GB, free: 6.746 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/1.002, allocations: 35.77 kB / 1.195 GB, free: 6.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/1.002, allocations: 12 kB / 1.195 GB, free: 6.699 MB / 0.92 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.0001806/1.003, allocations: 161.7 kB / 1.195 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/1.003, allocations: 35.77 kB / 1.195 GB, free: 6.496 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/1.003, allocations: 196.5 kB / 1.196 GB, free: 6.297 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.003, allocations: 7.938 kB / 1.196 GB, free: 6.289 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.003, allocations: 3.938 kB / 1.196 GB, free: 6.285 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005477/1.004, allocations: 489.2 kB / 1.196 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/1.004, allocations: 349.4 kB / 1.196 GB, free: 5.332 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.004, allocations: 0 / 1.196 GB, free: 5.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/1.004, allocations: 27.98 kB / 1.196 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.004, allocations: 0 / 1.196 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.004, allocations: 16 kB / 1.196 GB, free: 5.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.004, allocations: 7.875 kB / 1.196 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.004, allocations: 0 / 1.196 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/1.005, allocations: 291.3 kB / 1.197 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.005, allocations: 120.9 kB / 1.197 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/1.005, allocations: 0 / 1.197 GB, free: 4.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/1.006, allocations: 27.91 kB / 1.197 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/1.006, allocations: 15.98 kB / 1.197 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/1.006, allocations: 7.984 kB / 1.197 GB, free: 4.793 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002763/1.006, allocations: 247.2 kB / 1.197 GB, free: 4.559 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.006, allocations: 0 / 1.197 GB, free: 4.559 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004604/1.006, allocations: 127.7 kB / 1.197 GB, free: 4.434 MB / 0.92 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.0003815/1.007, allocations: 199 kB / 1.197 GB, free: 4.227 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005273/1.007, allocations: 229.3 kB / 1.198 GB, free: 3.992 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.007, allocations: 0 / 1.198 GB, free: 3.992 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/1.008, allocations: 71.89 kB / 1.198 GB, free: 3.922 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/1.009, allocations: 208.8 kB / 1.198 GB, free: 3.723 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/1.01, allocations: 0.7418 MB / 1.199 GB, free: 2.957 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.011, allocations: 0.7996 MB / 1.199 GB, free: 2.133 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002557/1.011, allocations: 63.2 kB / 1.2 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/1.011, allocations: 31.42 kB / 1.2 GB, free: 2.039 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/1.011, allocations: 3.938 kB / 1.2 GB, free: 2.035 MB / 0.92 GB Notification: Performance of Templates: time 0.0151/1.026, allocations: 7.204 MB / 1.207 GB, free: 10.95 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches