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.00869/0.00869, allocations: 103.5 kB / 15.74 MB, free: 6.059 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.002185/0.002185, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.499/2.499, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 65.98 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2981, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01897/0.3171, allocations: 14.43 MB / 1.102 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005472/0.3227, allocations: 3.648 MB / 1.106 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004138/0.3231, allocations: 15.94 kB / 1.106 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.3237, allocations: 214.7 kB / 1.106 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.325, allocations: 0.6076 MB / 1.106 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.3258, allocations: 398.7 kB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.327, allocations: 1.087 MB / 1.108 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.3274, allocations: 324.5 kB / 1.108 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.3283, allocations: 404.9 kB / 1.109 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.3286, allocations: 302.7 kB / 1.109 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.3287, allocations: 32 kB / 1.109 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.3292, allocations: 263.5 kB / 1.109 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3293, allocations: 99.61 kB / 1.109 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.3295, allocations: 215 kB / 1.109 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006956/0.3302, allocations: 0.5881 MB / 1.11 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3302, allocations: 0 / 1.11 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3302, allocations: 0 / 1.11 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3302, allocations: 0 / 1.11 GB, free: 10.85 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.001091/0.3313, allocations: 0.7457 MB / 1.111 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3314, allocations: 12.03 kB / 1.111 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3316, allocations: 44.47 kB / 1.111 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.3322, allocations: 467.6 kB / 1.111 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3323, allocations: 20.94 kB / 1.111 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.3323, allocations: 39.88 kB / 1.111 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.3329, allocations: 306.2 kB / 1.112 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3329, allocations: 0 / 1.112 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.3329, allocations: 12 kB / 1.112 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.333, allocations: 8 kB / 1.112 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.3334, allocations: 194.1 kB / 1.112 GB, free: 8.91 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.001734/0.3352, allocations: 1.485 MB / 1.113 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.3356, allocations: 158.6 kB / 1.113 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3358, allocations: 64.81 kB / 1.113 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.3359, allocations: 89.09 kB / 1.113 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.3362, allocations: 123.3 kB / 1.114 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3362, allocations: 0 / 1.114 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0005946/0.3368, allocations: 240.3 kB / 1.114 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3368, allocations: 59.34 kB / 1.114 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.3372, allocations: 353.5 kB / 1.114 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3372, allocations: 29.7 kB / 1.114 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3374, allocations: 215.8 kB / 1.114 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.3374, allocations: 55.28 kB / 1.115 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.3375, allocations: 57.61 kB / 1.115 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3377, allocations: 338.8 kB / 1.115 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3378, allocations: 71.94 kB / 1.115 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.3381, allocations: 150.4 kB / 1.115 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.3385, allocations: 244.6 kB / 1.115 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3385, allocations: 0 / 1.115 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005837/0.3391, allocations: 308.7 kB / 1.116 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3391, allocations: 37.7 kB / 1.116 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3392, allocations: 4 kB / 1.116 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3392, allocations: 4 kB / 1.116 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.3394, allocations: 60.16 kB / 1.116 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3394, allocations: 11.88 kB / 1.116 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.3397, allocations: 31.73 kB / 1.116 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.3397, allocations: 19.98 kB / 1.116 GB, free: 4.445 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.0001492/0.3399, allocations: 157.7 kB / 1.116 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.3399, allocations: 31.62 kB / 1.116 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.3404, allocations: 196.5 kB / 1.116 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3404, allocations: 3.938 kB / 1.116 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3404, allocations: 4 kB / 1.116 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004956/0.3409, allocations: 487.6 kB / 1.117 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.3413, allocations: 353.3 kB / 1.117 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3413, allocations: 4 kB / 1.117 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3415, allocations: 27.97 kB / 1.117 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3415, allocations: 8 kB / 1.117 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3415, allocations: 4 kB / 1.117 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3415, allocations: 3.938 kB / 1.117 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3415, allocations: 0 / 1.117 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.3421, allocations: 283.5 kB / 1.117 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3422, allocations: 124.7 kB / 1.117 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.3423, allocations: 12 kB / 1.117 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3425, allocations: 19.92 kB / 1.117 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.3426, allocations: 15.97 kB / 1.117 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.3426, allocations: 8 kB / 1.117 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002406/0.3429, allocations: 247.2 kB / 1.118 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3429, allocations: 0 / 1.118 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004513/0.3433, allocations: 124 kB / 1.118 GB, free: 2.191 MB / 0.8731 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.000348/0.3437, allocations: 194.7 kB / 1.118 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.3442, allocations: 227.1 kB / 1.118 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3442, allocations: 7.938 kB / 1.118 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3444, allocations: 71.89 kB / 1.118 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.3452, allocations: 218.9 kB / 1.118 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3465, allocations: 0.7269 MB / 1.119 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3469, allocations: 0.7879 MB / 1.12 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.3471, allocations: 75.11 kB / 1.12 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.3472, allocations: 27.44 kB / 1.12 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.3472, allocations: 8 kB / 1.12 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of Templates: time 0.01232/0.3595, allocations: 7.165 MB / 1.127 GB, free: 8.742 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches