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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008919/0.0008916, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 183.4 kB / 16.92 MB, free: 6.926 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.817/2.817, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003999, allocations: 7.469 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3007, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01603/0.3167, allocations: 13.89 MB / 1.073 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005922/0.3227, allocations: 3.62 MB / 1.076 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.3235, allocations: 19.88 kB / 1.076 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007038/0.3242, allocations: 167.1 kB / 1.077 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.3259, allocations: 0.5444 MB / 1.077 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.327, allocations: 355 kB / 1.077 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001861/0.3289, allocations: 1.461 MB / 1.079 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.3294, allocations: 264.3 kB / 1.079 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006715/0.3301, allocations: 314.6 kB / 1.079 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006256/0.3308, allocations: 298.6 kB / 1.08 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3309, allocations: 16 kB / 1.08 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.3316, allocations: 239.3 kB / 1.08 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.3318, allocations: 71.67 kB / 1.08 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.3321, allocations: 216.7 kB / 1.08 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000628/0.3328, allocations: 459 kB / 1.081 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3328, allocations: 0 / 1.081 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3328, allocations: 0 / 1.081 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.3328, allocations: 0 / 1.081 GB, free: 15.01 MB / 0.8419 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.001216/0.334, allocations: 0.6758 MB / 1.081 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3341, allocations: 11.97 kB / 1.081 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.3343, allocations: 44.47 kB / 1.081 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008505/0.3352, allocations: 479.8 kB / 1.082 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3352, allocations: 20.69 kB / 1.082 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.3353, allocations: 35.89 kB / 1.082 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.3359, allocations: 314.2 kB / 1.082 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3359, allocations: 3.938 kB / 1.082 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.3359, allocations: 12 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.336, allocations: 4 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.3365, allocations: 210.1 kB / 1.082 GB, free: 13.11 MB / 0.8419 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.001879/0.3384, allocations: 1.481 MB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.3388, allocations: 170.6 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.339, allocations: 76.75 kB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.3392, allocations: 81.11 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.3395, allocations: 131.3 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.315e-06/0.3395, allocations: 0 / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006854/0.3402, allocations: 255.6 kB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3403, allocations: 63.34 kB / 1.085 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.3407, allocations: 337.6 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3407, allocations: 29.7 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3409, allocations: 223.7 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.3409, allocations: 47.27 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.341, allocations: 33.7 kB / 1.085 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3411, allocations: 338.8 kB / 1.086 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3413, allocations: 75.95 kB / 1.086 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.3416, allocations: 149.8 kB / 1.086 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.342, allocations: 261.8 kB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.342, allocations: 3.938 kB / 1.086 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006259/0.3427, allocations: 318.8 kB / 1.086 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3427, allocations: 37.69 kB / 1.086 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3427, allocations: 4 kB / 1.086 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3428, allocations: 7.938 kB / 1.086 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.343, allocations: 59.84 kB / 1.086 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.343, allocations: 7.938 kB / 1.086 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.3433, allocations: 43.86 kB / 1.087 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.3434, allocations: 15.98 kB / 1.087 GB, free: 8.59 MB / 0.8419 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.0001834/0.3436, allocations: 153.8 kB / 1.087 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.3436, allocations: 31.62 kB / 1.087 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.3441, allocations: 208.5 kB / 1.087 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3441, allocations: 3.938 kB / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3441, allocations: 0 / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004946/0.3446, allocations: 499.7 kB / 1.087 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3451, allocations: 353.4 kB / 1.088 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3451, allocations: 0 / 1.088 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.3453, allocations: 31.98 kB / 1.088 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3453, allocations: 0 / 1.088 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3453, allocations: 4 kB / 1.088 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3453, allocations: 7.922 kB / 1.088 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3453, allocations: 4 kB / 1.088 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.346, allocations: 303 kB / 1.088 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3461, allocations: 136.7 kB / 1.088 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.3462, allocations: 8 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.3464, allocations: 23.91 kB / 1.088 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.3465, allocations: 19.97 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3465, allocations: 4 kB / 1.088 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002452/0.3468, allocations: 239.2 kB / 1.088 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3468, allocations: 0 / 1.088 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000454/0.3473, allocations: 123.8 kB / 1.089 GB, free: 6.301 MB / 0.8419 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.000351/0.3476, allocations: 183.1 kB / 1.089 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3481, allocations: 236.7 kB / 1.089 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3482, allocations: 0.625 kB / 1.089 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.3484, allocations: 79.89 kB / 1.089 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3494, allocations: 197.9 kB / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3509, allocations: 0.9559 MB / 1.09 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3513, allocations: 0.7921 MB / 1.091 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.3514, allocations: 35.42 kB / 1.091 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3514, allocations: 0 / 1.091 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of Templates: time 0.01006/0.3615, allocations: 5.9 MB / 1.097 GB, free: 13.91 MB / 0.8575 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