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.001423/0.001423, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001542/0.001542, allocations: 189.5 kB / 17.35 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.425/2.425, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7709, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01693/0.7879, allocations: 14.44 MB / 1.181 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.7932, allocations: 3.647 MB / 1.185 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.794, allocations: 19.94 kB / 1.185 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007434/0.7947, allocations: 206.7 kB / 1.185 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.7965, allocations: 0.6151 MB / 1.186 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7975, allocations: 390.2 kB / 1.186 GB, free: 492 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.7991, allocations: 1.088 MB / 1.187 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.7996, allocations: 332.5 kB / 1.188 GB, free: 15.06 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.8008, allocations: 404 kB / 1.188 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005407/0.8013, allocations: 306.6 kB / 1.188 GB, free: 14.37 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.018e-05/0.8014, allocations: 32 kB / 1.188 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.8021, allocations: 255.5 kB / 1.188 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.8022, allocations: 99.59 kB / 1.189 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.8025, allocations: 203.1 kB / 1.189 GB, free: 13.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009216/0.8034, allocations: 0.5936 MB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.8034, allocations: 0 / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.526e-06/0.8034, allocations: 0 / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.8035, allocations: 3.938 kB / 1.189 GB, free: 13.2 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.001259/0.8047, allocations: 0.7535 MB / 1.19 GB, free: 12.39 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.8048, allocations: 8.922 kB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.805, allocations: 44.47 kB / 1.19 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.8058, allocations: 463.7 kB / 1.191 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.8058, allocations: 28.92 kB / 1.191 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/0.8059, allocations: 27.94 kB / 1.191 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.8064, allocations: 310.2 kB / 1.191 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8065, allocations: 3.906 kB / 1.191 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.8065, allocations: 15.98 kB / 1.191 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.8065, allocations: 8 kB / 1.191 GB, free: 11.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.807, allocations: 194.1 kB / 1.191 GB, free: 11.25 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.001818/0.8088, allocations: 1.489 MB / 1.193 GB, free: 9.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.8093, allocations: 154.6 kB / 1.193 GB, free: 9.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.8095, allocations: 64.81 kB / 1.193 GB, free: 9.406 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.8096, allocations: 93.09 kB / 1.193 GB, free: 9.297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.8099, allocations: 123.3 kB / 1.193 GB, free: 9.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.8099, allocations: 0 / 1.193 GB, free: 9.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0006409/0.8106, allocations: 238.8 kB / 1.193 GB, free: 8.926 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.8106, allocations: 59.34 kB / 1.193 GB, free: 8.855 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.811, allocations: 349.6 kB / 1.194 GB, free: 8.508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.811, allocations: 29.7 kB / 1.194 GB, free: 8.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.8112, allocations: 211.8 kB / 1.194 GB, free: 8.262 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.8112, allocations: 63.17 kB / 1.194 GB, free: 8.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.8113, allocations: 49.7 kB / 1.194 GB, free: 8.145 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.8114, allocations: 342.8 kB / 1.194 GB, free: 7.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.8116, allocations: 71.94 kB / 1.194 GB, free: 7.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.8119, allocations: 149.3 kB / 1.195 GB, free: 7.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.8123, allocations: 245.1 kB / 1.195 GB, free: 7.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8123, allocations: 0 / 1.195 GB, free: 7.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005925/0.8129, allocations: 308.9 kB / 1.195 GB, free: 6.961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.813, allocations: 42.02 kB / 1.195 GB, free: 6.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.813, allocations: 4 kB / 1.195 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.813, allocations: 4 kB / 1.195 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.8132, allocations: 51.91 kB / 1.195 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.8132, allocations: 11.88 kB / 1.195 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.8135, allocations: 39.66 kB / 1.195 GB, free: 6.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.8135, allocations: 12 kB / 1.195 GB, free: 6.793 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.0001562/0.8137, allocations: 161.8 kB / 1.195 GB, free: 6.625 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.8138, allocations: 31.62 kB / 1.195 GB, free: 6.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.8142, allocations: 192.5 kB / 1.196 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004498/0.8147, allocations: 489.7 kB / 1.196 GB, free: 5.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8147, allocations: 3.938 kB / 1.196 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.8148, allocations: 128.6 kB / 1.196 GB, free: 5.688 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.8149, allocations: 4 kB / 1.196 GB, free: 5.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.8151, allocations: 15.98 kB / 1.196 GB, free: 5.668 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.8152, allocations: 19.97 kB / 1.196 GB, free: 5.648 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005446/0.8158, allocations: 264.7 kB / 1.196 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006384/0.8164, allocations: 445.2 kB / 1.197 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001745/0.8166, allocations: 71.92 kB / 1.197 GB, free: 4.863 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000229/0.8168, allocations: 251.1 kB / 1.197 GB, free: 4.625 MB / 0.92 GB Notification: Performance of Backend: time 6.61e-07/0.8168, allocations: 0 / 1.197 GB, free: 4.625 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009112/0.8178, allocations: 357.8 kB / 1.198 GB, free: 4.254 MB / 0.92 GB Notification: Performance of SimCode: time 0.001879/0.8197, allocations: 1.328 MB / 1.199 GB, free: 2.883 MB / 0.92 GB Notification: Performance of Templates: time 0.01421/0.8339, allocations: 7.436 MB / 1.206 GB, free: 11.55 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 -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