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 12.0.0-master/package.mo", uses=false) 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=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.001596/0.001596, allocations: 106.7 kB / 16.41 MB, free: 6.461 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.001696/0.001696, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.549/2.549, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7172, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01745/0.7347, allocations: 14.45 MB / 1.24 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005368/0.7401, allocations: 3.647 MB / 1.244 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.7407, allocations: 23.81 kB / 1.244 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.7415, allocations: 218.7 kB / 1.244 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.7434, allocations: 0.6025 MB / 1.245 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.7445, allocations: 394.2 kB / 1.245 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.7463, allocations: 1.099 MB / 1.246 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005294/0.7468, allocations: 312.6 kB / 1.247 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.748, allocations: 403.5 kB / 1.247 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.7487, allocations: 302.7 kB / 1.247 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.7488, allocations: 32 kB / 1.247 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000725/0.7495, allocations: 263.5 kB / 1.248 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.7497, allocations: 95.61 kB / 1.248 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.75, allocations: 207 kB / 1.248 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.7509, allocations: 0.5961 MB / 1.248 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7509, allocations: 0 / 1.248 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.751, allocations: 0 / 1.248 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.751, allocations: 4 kB / 1.248 GB, free: 6.844 MB / 0.9669 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.001254/0.7522, allocations: 0.7569 MB / 1.249 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.7523, allocations: 8.031 kB / 1.249 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.7525, allocations: 52.66 kB / 1.249 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.7533, allocations: 471.9 kB / 1.25 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.7533, allocations: 20.94 kB / 1.25 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.7534, allocations: 27.94 kB / 1.25 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.754, allocations: 310.2 kB / 1.25 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.754, allocations: 0 / 1.25 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.754, allocations: 19.88 kB / 1.25 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.7541, allocations: 8 kB / 1.25 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.7545, allocations: 198.1 kB / 1.25 GB, free: 4.879 MB / 0.9669 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.001797/0.7563, allocations: 1.482 MB / 1.252 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.7568, allocations: 150.6 kB / 1.252 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.757, allocations: 72.77 kB / 1.252 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.7571, allocations: 89.09 kB / 1.252 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.7574, allocations: 123.3 kB / 1.252 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.933e-06/0.7574, allocations: 0 / 1.252 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0006191/0.758, allocations: 235.5 kB / 1.252 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.7581, allocations: 59.34 kB / 1.252 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.7584, allocations: 357.6 kB / 1.253 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.7585, allocations: 33.7 kB / 1.253 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.7586, allocations: 220.1 kB / 1.253 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.7587, allocations: 55.58 kB / 1.253 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.7588, allocations: 53.66 kB / 1.253 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7589, allocations: 342.8 kB / 1.253 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.7591, allocations: 71.95 kB / 1.253 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.7593, allocations: 141.4 kB / 1.254 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.7598, allocations: 241.2 kB / 1.254 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.7598, allocations: 4 kB / 1.254 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005923/0.7604, allocations: 319 kB / 1.254 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.7604, allocations: 33.7 kB / 1.254 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7604, allocations: 0 / 1.254 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.7604, allocations: 4 kB / 1.254 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.7607, allocations: 59.91 kB / 1.254 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7607, allocations: 11.92 kB / 1.254 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.761, allocations: 35.77 kB / 1.254 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.761, allocations: 11.94 kB / 1.254 GB, free: 428 kB / 0.9669 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.000158/0.7612, allocations: 157.9 kB / 1.254 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.7612, allocations: 35.75 kB / 1.254 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.7617, allocations: 196.5 kB / 1.255 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005385/0.7623, allocations: 487.7 kB / 1.255 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.7623, allocations: 3.938 kB / 1.255 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.7624, allocations: 128.9 kB / 1.255 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.7625, allocations: 0 / 1.255 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.7627, allocations: 19.97 kB / 1.255 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.7628, allocations: 19.92 kB / 1.255 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000593/0.7634, allocations: 263.3 kB / 1.255 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007002/0.7641, allocations: 442.4 kB / 1.256 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001808/0.7643, allocations: 71.89 kB / 1.256 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002696/0.7646, allocations: 247.2 kB / 1.256 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of Backend: time 4.91e-07/0.7646, allocations: 0 / 1.256 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.7656, allocations: 377 kB / 1.257 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001838/0.7675, allocations: 1.334 MB / 1.258 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of Templates: time 0.01304/0.7805, allocations: 7.444 MB / 1.265 GB, free: 5.129 MB / 0.9825 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