Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001135/0.001135, allocations: 113.2 kB / 16.42 MB, free: 6.492 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.001112/0.001112, allocations: 185.7 kB / 17.35 MB, free: 5.762 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 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.125/2.125, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.84 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7117, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01481/0.7265, allocations: 14.43 MB / 1.103 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00553/0.7321, allocations: 3.646 MB / 1.106 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.7326, allocations: 17.22 kB / 1.106 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.7333, allocations: 211 kB / 1.106 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.7348, allocations: 0.6097 MB / 1.107 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.7358, allocations: 405.4 kB / 1.107 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.7372, allocations: 1.09 MB / 1.109 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.7377, allocations: 317.6 kB / 1.109 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.7388, allocations: 404.4 kB / 1.109 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.7393, allocations: 302.7 kB / 1.109 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.7394, allocations: 41.08 kB / 1.11 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.7401, allocations: 256 kB / 1.11 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.7402, allocations: 94.2 kB / 1.11 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.7405, allocations: 220.9 kB / 1.11 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.7416, allocations: 0.5876 MB / 1.111 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7416, allocations: 0 / 1.111 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7416, allocations: 0 / 1.111 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.796e-05/0.7416, allocations: 1.438 kB / 1.111 GB, free: 6.398 MB / 0.8731 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.001524/0.7431, allocations: 0.7477 MB / 1.111 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.7432, allocations: 8.531 kB / 1.111 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.7434, allocations: 46.23 kB / 1.111 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.7443, allocations: 468.1 kB / 1.112 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.7443, allocations: 19.09 kB / 1.112 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.7444, allocations: 34.8 kB / 1.112 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.745, allocations: 308 kB / 1.112 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.7451, allocations: 1 kB / 1.112 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.7451, allocations: 11.31 kB / 1.112 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.7451, allocations: 8.203 kB / 1.112 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.7456, allocations: 198.3 kB / 1.112 GB, free: 5.18 MB / 0.8731 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.001955/0.7476, allocations: 1.484 MB / 1.114 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.748, allocations: 160 kB / 1.114 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.7482, allocations: 64.62 kB / 1.114 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.7484, allocations: 86.52 kB / 1.114 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.7487, allocations: 130.1 kB / 1.114 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.7487, allocations: 0 / 1.114 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0006444/0.7493, allocations: 236.2 kB / 1.115 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.7494, allocations: 58.44 kB / 1.115 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.7498, allocations: 352 kB / 1.115 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.7498, allocations: 31.89 kB / 1.115 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.75, allocations: 211.3 kB / 1.115 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.75, allocations: 52.72 kB / 1.115 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.7501, allocations: 61.28 kB / 1.115 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7503, allocations: 340.4 kB / 1.116 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.7505, allocations: 72.47 kB / 1.116 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.7507, allocations: 153.2 kB / 1.116 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.7512, allocations: 246 kB / 1.116 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7512, allocations: 1.375 kB / 1.116 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006378/0.7519, allocations: 308.1 kB / 1.116 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.7519, allocations: 37.42 kB / 1.116 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7519, allocations: 3.125 kB / 1.116 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.7519, allocations: 8.062 kB / 1.116 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.7522, allocations: 55.67 kB / 1.116 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.7522, allocations: 8.719 kB / 1.116 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.7525, allocations: 34.88 kB / 1.116 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.7525, allocations: 14.52 kB / 1.116 GB, free: 2.207 MB / 0.8731 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.0001809/0.7527, allocations: 156.2 kB / 1.117 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.7528, allocations: 33.03 kB / 1.117 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.7533, allocations: 201.2 kB / 1.117 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004984/0.7538, allocations: 483.4 kB / 1.117 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7538, allocations: 3.938 kB / 1.117 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.754, allocations: 125.8 kB / 1.117 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.7541, allocations: 7.469 kB / 1.117 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.7543, allocations: 16.23 kB / 1.117 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.7544, allocations: 17.02 kB / 1.117 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000572/0.755, allocations: 263.4 kB / 1.118 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006775/0.7557, allocations: 447.9 kB / 1.118 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001759/0.7558, allocations: 70.69 kB / 1.118 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002733/0.7561, allocations: 246.8 kB / 1.118 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of Backend: time 5.51e-07/0.7561, allocations: 0 / 1.118 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.7572, allocations: 364.2 kB / 1.119 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002012/0.7593, allocations: 1.33 MB / 1.12 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of Templates: time 0.01476/0.774, allocations: 7.435 MB / 1.127 GB, free: 14.9 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches