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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_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.001703/0.001703, allocations: 109.9 kB / 16.41 MB, free: 6.453 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.001944/0.001944, allocations: 192.3 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.218/2.218, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.08 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8654/0.8669, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01697/0.8839, allocations: 14.43 MB / 1.222 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.8903, allocations: 3.651 MB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/0.891, allocations: 19.88 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.8918, allocations: 210.7 kB / 1.226 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.8935, allocations: 0.5751 MB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.8946, allocations: 393.9 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.8963, allocations: 1.091 MB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000582/0.8969, allocations: 317 kB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.8981, allocations: 398.4 kB / 1.229 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.8987, allocations: 310.6 kB / 1.229 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.8988, allocations: 32 kB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.8994, allocations: 259.5 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.8996, allocations: 91.67 kB / 1.23 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.8999, allocations: 207 kB / 1.23 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.9009, allocations: 0.5975 MB / 1.23 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9009, allocations: 4 kB / 1.23 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9009, allocations: 0 / 1.23 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.901, allocations: 0 / 1.23 GB, free: 7.031 MB / 0.9512 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.00158/0.9025, allocations: 0.7457 MB / 1.231 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9026, allocations: 8.031 kB / 1.231 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.9029, allocations: 44.47 kB / 1.231 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.9038, allocations: 475.6 kB / 1.232 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.9038, allocations: 20.94 kB / 1.232 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.9039, allocations: 31.94 kB / 1.232 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.9045, allocations: 306.2 kB / 1.232 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.9046, allocations: 7.906 kB / 1.232 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.9046, allocations: 11.94 kB / 1.232 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.9046, allocations: 15.92 kB / 1.232 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.9051, allocations: 194.1 kB / 1.232 GB, free: 5.086 MB / 0.9512 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.00194/0.9071, allocations: 1.481 MB / 1.234 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.9075, allocations: 150.6 kB / 1.234 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.9077, allocations: 72.77 kB / 1.234 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.9079, allocations: 89.09 kB / 1.234 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.9082, allocations: 123.3 kB / 1.234 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.9082, allocations: 0 / 1.234 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.000659/0.9089, allocations: 239 kB / 1.234 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.9089, allocations: 55.34 kB / 1.234 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.9093, allocations: 353.6 kB / 1.235 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.9093, allocations: 29.7 kB / 1.235 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.9095, allocations: 215.8 kB / 1.235 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.9096, allocations: 59.12 kB / 1.235 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.9096, allocations: 49.7 kB / 1.235 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9098, allocations: 346.8 kB / 1.235 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.91, allocations: 71.95 kB / 1.235 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.9103, allocations: 146.6 kB / 1.236 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.9107, allocations: 244.6 kB / 1.236 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9107, allocations: 0 / 1.236 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006283/0.9114, allocations: 317.1 kB / 1.236 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.9114, allocations: 29.7 kB / 1.236 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9114, allocations: 4 kB / 1.236 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.9115, allocations: 4 kB / 1.236 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.9117, allocations: 59.91 kB / 1.236 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.9117, allocations: 7.922 kB / 1.236 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.912, allocations: 39.92 kB / 1.236 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.912, allocations: 12 kB / 1.236 GB, free: 0.6328 MB / 0.9512 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.0001678/0.9122, allocations: 157.7 kB / 1.236 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.9123, allocations: 31.62 kB / 1.236 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/0.9127, allocations: 196.4 kB / 1.237 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000516/0.9133, allocations: 485.6 kB / 1.237 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.9133, allocations: 3.938 kB / 1.237 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.9134, allocations: 132.6 kB / 1.237 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.9135, allocations: 4 kB / 1.237 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.9137, allocations: 23.95 kB / 1.237 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.735e-05/0.9138, allocations: 7.984 kB / 1.237 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006045/0.9144, allocations: 276.6 kB / 1.238 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007212/0.9152, allocations: 437.4 kB / 1.238 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000193/0.9154, allocations: 71.89 kB / 1.238 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002613/0.9156, allocations: 255.1 kB / 1.238 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of Backend: time 7.31e-07/0.9157, allocations: 4 kB / 1.238 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009185/0.9166, allocations: 353.9 kB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001933/0.9185, allocations: 1.324 MB / 1.24 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of Templates: time 0.016/0.9345, allocations: 7.587 MB / 1.247 GB, free: 5.23 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) 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) Reference file matches