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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001472/0.001472, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001909/0.001909, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.86 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01622/0.3101, allocations: 14.44 MB / 0.9652 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005836/0.316, allocations: 3.64 MB / 0.9688 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.3166, allocations: 23.94 kB / 0.9688 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.3174, allocations: 202.7 kB / 0.969 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.3191, allocations: 0.5868 MB / 0.9696 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.3202, allocations: 390.8 kB / 0.9699 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.3218, allocations: 1.083 MB / 0.971 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/0.3222, allocations: 316.5 kB / 0.9713 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009563/0.3232, allocations: 385.1 kB / 0.9717 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.3236, allocations: 314.6 kB / 0.972 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.3237, allocations: 32 kB / 0.972 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006256/0.3243, allocations: 255.5 kB / 0.9722 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3244, allocations: 99.66 kB / 0.9723 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.3246, allocations: 211 kB / 0.9725 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008797/0.3255, allocations: 0.5958 MB / 0.9731 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3256, allocations: 0 / 0.9731 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3256, allocations: 0 / 0.9731 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3256, allocations: 0 / 0.9731 GB, free: 1.484 MB / 0.7481 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.001234/0.3268, allocations: 0.7379 MB / 0.9738 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3269, allocations: 8.031 kB / 0.9738 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.3271, allocations: 56.45 kB / 0.9739 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.3278, allocations: 467.6 kB / 0.9743 GB, free: 140 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.3279, allocations: 20.94 kB / 0.9744 GB, free: 116 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.3279, allocations: 27.94 kB / 0.9744 GB, free: 88 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.3285, allocations: 310.2 kB / 0.9747 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3286, allocations: 3.984 kB / 0.9747 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.3286, allocations: 12 kB / 0.9747 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3286, allocations: 15.94 kB / 0.9747 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.3291, allocations: 194 kB / 0.9749 GB, free: 15.54 MB / 0.7637 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.002001/0.3311, allocations: 1.481 MB / 0.9763 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.3316, allocations: 158.6 kB / 0.9765 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3317, allocations: 76.75 kB / 0.9766 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.3319, allocations: 81.11 kB / 0.9766 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.3322, allocations: 127.3 kB / 0.9768 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.3322, allocations: 4 kB / 0.9768 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0006355/0.3329, allocations: 229.1 kB / 0.977 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3329, allocations: 55.34 kB / 0.977 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.3333, allocations: 349.7 kB / 0.9774 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.3334, allocations: 33.7 kB / 0.9774 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.3335, allocations: 219.6 kB / 0.9776 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3336, allocations: 47.36 kB / 0.9777 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.3337, allocations: 61.59 kB / 0.9777 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3338, allocations: 334.8 kB / 0.978 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.334, allocations: 71.95 kB / 0.9781 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.3343, allocations: 146.4 kB / 0.9783 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.3347, allocations: 249 kB / 0.9785 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3347, allocations: 0 / 0.9785 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005845/0.3353, allocations: 316 kB / 0.9788 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.3354, allocations: 37.69 kB / 0.9788 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3354, allocations: 0 / 0.9788 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3354, allocations: 4 kB / 0.9788 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.3356, allocations: 63.84 kB / 0.9789 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3357, allocations: 4.312 kB / 0.9789 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3359, allocations: 43.67 kB / 0.9789 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.3359, allocations: 8 kB / 0.9789 GB, free: 11.09 MB / 0.7637 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.3361, allocations: 157.8 kB / 0.9791 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.3362, allocations: 31.62 kB / 0.9791 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.3366, allocations: 195.6 kB / 0.9793 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3366, allocations: 11.94 kB / 0.9793 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3366, allocations: 0 / 0.9793 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004572/0.3371, allocations: 491.6 kB / 0.9798 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.3375, allocations: 349.4 kB / 0.9801 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3376, allocations: 0 / 0.9801 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3377, allocations: 31.98 kB / 0.9802 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3377, allocations: 3.938 kB / 0.9802 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3378, allocations: 7.984 kB / 0.9802 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3378, allocations: 3.938 kB / 0.9802 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3378, allocations: 4 kB / 0.9802 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.3384, allocations: 290.6 kB / 0.9805 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3385, allocations: 124.7 kB / 0.9806 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.3386, allocations: 7.984 kB / 0.9806 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3388, allocations: 19.92 kB / 0.9806 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.3389, allocations: 15.98 kB / 0.9806 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3389, allocations: 7.984 kB / 0.9806 GB, free: 9.18 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002606/0.3392, allocations: 247.2 kB / 0.9809 GB, free: 8.938 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3392, allocations: 0 / 0.9809 GB, free: 8.938 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004685/0.3397, allocations: 132 kB / 0.981 GB, free: 8.809 MB / 0.7637 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.0003585/0.34, allocations: 191 kB / 0.9812 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.3405, allocations: 231.1 kB / 0.9814 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3405, allocations: 0 / 0.9814 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.3407, allocations: 67.89 kB / 0.9814 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.3416, allocations: 217.4 kB / 0.9817 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3429, allocations: 0.7268 MB / 0.9824 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3432, allocations: 0.7879 MB / 0.9831 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3435, allocations: 63.25 kB / 0.9832 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.3436, allocations: 39.42 kB / 0.9832 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of SimCode: time 3.91e-07/0.3436, allocations: 0 / 0.9832 GB, free: 6.438 MB / 0.7637 GB Notification: Performance of Templates: time 0.01298/0.3566, allocations: 7.13 MB / 0.9902 GB, free: 15.41 MB / 0.7794 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 -s cvode -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