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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001323/0.001323, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.00132/0.00132, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.302/1.302, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.46/2.46, allocations: 469.4 MB / 0.7423 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002123, allocations: 68 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 159.1 MB / 1.064 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01691/0.3465, allocations: 14.37 MB / 1.078 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5543/0.9008, allocations: 3.606 MB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005464/0.9014, allocations: 16.31 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.9021, allocations: 176.3 kB / 1.081 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.9035, allocations: 0.5438 MB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.9045, allocations: 358.8 kB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.906, allocations: 1.108 MB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.9065, allocations: 310.5 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.9076, allocations: 394.6 kB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.9081, allocations: 315.4 kB / 1.084 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.9081, allocations: 35.59 kB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.9089, allocations: 266.3 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.909, allocations: 90.14 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.9092, allocations: 212.2 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007112/0.9099, allocations: 461.3 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9099, allocations: 1.188 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.91, allocations: 4 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.91, allocations: 0 / 1.085 GB, free: 10.1 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.001122/0.9111, allocations: 0.742 MB / 1.086 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.9111, allocations: 14.98 kB / 1.086 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.9113, allocations: 47.14 kB / 1.086 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.9121, allocations: 475.2 kB / 1.087 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.9121, allocations: 22.81 kB / 1.087 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.9122, allocations: 30.53 kB / 1.087 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.9128, allocations: 309.6 kB / 1.087 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.9128, allocations: 0.8438 kB / 1.087 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.9128, allocations: 15.58 kB / 1.087 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.9129, allocations: 10.25 kB / 1.087 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.9134, allocations: 190.8 kB / 1.087 GB, free: 9.188 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.001767/0.9151, allocations: 1.478 MB / 1.089 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.9156, allocations: 159.4 kB / 1.089 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.9158, allocations: 69.33 kB / 1.089 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.916, allocations: 86.17 kB / 1.089 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.9163, allocations: 129.3 kB / 1.089 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 2.355e-06/0.9163, allocations: 0 / 1.089 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0006787/0.917, allocations: 236.5 kB / 1.089 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.917, allocations: 61.78 kB / 1.089 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.9174, allocations: 336.4 kB / 1.09 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.9174, allocations: 32.05 kB / 1.09 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.9176, allocations: 212.8 kB / 1.09 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.9176, allocations: 50.45 kB / 1.09 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.9177, allocations: 58.78 kB / 1.09 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.9178, allocations: 343.9 kB / 1.09 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.918, allocations: 69.48 kB / 1.09 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.9183, allocations: 140.5 kB / 1.091 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.9187, allocations: 251.2 kB / 1.091 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.9187, allocations: 2.062 kB / 1.091 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006073/0.9193, allocations: 317.1 kB / 1.091 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.9194, allocations: 37.7 kB / 1.091 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.9194, allocations: 2.625 kB / 1.091 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.9194, allocations: 8.906 kB / 1.091 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.9196, allocations: 54.3 kB / 1.091 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.9197, allocations: 8.297 kB / 1.091 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.92, allocations: 46.83 kB / 1.091 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.92, allocations: 9.375 kB / 1.091 GB, free: 6.703 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.0001578/0.9202, allocations: 161 kB / 1.091 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.9202, allocations: 32.47 kB / 1.091 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.9207, allocations: 194.9 kB / 1.092 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.9207, allocations: 5.547 kB / 1.092 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9207, allocations: 4 kB / 1.092 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003962/0.9211, allocations: 487.6 kB / 1.092 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.9216, allocations: 356.2 kB / 1.092 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9216, allocations: 0.7031 kB / 1.092 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.9218, allocations: 29.41 kB / 1.092 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.9218, allocations: 0.7969 kB / 1.092 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.9218, allocations: 2.672 kB / 1.092 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9219, allocations: 5.156 kB / 1.092 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9219, allocations: 4 kB / 1.092 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.9225, allocations: 286.4 kB / 1.093 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.9226, allocations: 122.6 kB / 1.093 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.9227, allocations: 5.594 kB / 1.093 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.9229, allocations: 22.77 kB / 1.093 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.923, allocations: 17.2 kB / 1.093 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.9231, allocations: 7.562 kB / 1.093 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002974/0.9234, allocations: 240.8 kB / 1.093 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9234, allocations: 0 / 1.093 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005407/0.9239, allocations: 112.5 kB / 1.093 GB, free: 5.297 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.0004044/0.9243, allocations: 183.5 kB / 1.093 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.9249, allocations: 240.8 kB / 1.094 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9249, allocations: 1.094 kB / 1.094 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.9251, allocations: 66.75 kB / 1.094 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.9262, allocations: 223.1 kB / 1.094 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.9277, allocations: 0.8875 MB / 1.095 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.928, allocations: 0.7862 MB / 1.096 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.9281, allocations: 37.91 kB / 1.096 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.9282, allocations: 0 / 1.096 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.01151/0.9397, allocations: 5.965 MB / 1.101 GB, free: 2.965 MB / 0.8419 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