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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 84.91 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 160 kB / 23.01 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.831/2.831, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|vol.T|expVes.port_a.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9067/0.9088, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01284/0.9216, allocations: 13.52 MB / 1.2 GB, free: 7.051 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004595/0.9262, allocations: 3.393 MB / 1.203 GB, free: 4.754 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.9266, allocations: 27.5 kB / 1.203 GB, free: 4.738 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.9272, allocations: 197.7 kB / 1.203 GB, free: 4.633 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.9286, allocations: 0.6288 MB / 1.204 GB, free: 4.266 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.9294, allocations: 402.3 kB / 1.204 GB, free: 4.047 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.9307, allocations: 1.114 MB / 1.205 GB, free: 3.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.931, allocations: 254 kB / 1.206 GB, free: 3.395 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.9321, allocations: 459.2 kB / 1.206 GB, free: 3.191 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.9325, allocations: 301.7 kB / 1.206 GB, free: 3.074 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.9326, allocations: 32.62 kB / 1.206 GB, free: 3.074 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.9331, allocations: 222.8 kB / 1.207 GB, free: 2.996 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.9332, allocations: 97.12 kB / 1.207 GB, free: 2.938 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.9334, allocations: 174 kB / 1.207 GB, free: 2.852 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007968/0.9342, allocations: 0.6115 MB / 1.207 GB, free: 2.621 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9342, allocations: 0 / 1.207 GB, free: 2.621 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9342, allocations: 0 / 1.207 GB, free: 2.621 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.9342, allocations: 3.938 kB / 1.207 GB, free: 2.617 MB / 1.076 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.001244/0.9354, allocations: 0.6866 MB / 1.208 GB, free: 2.094 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.9355, allocations: 10.98 kB / 1.208 GB, free: 2.094 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.9358, allocations: 49.72 kB / 1.208 GB, free: 2.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/0.9366, allocations: 411.9 kB / 1.209 GB, free: 1.797 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.9367, allocations: 18.91 kB / 1.209 GB, free: 1.785 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.9367, allocations: 34.38 kB / 1.209 GB, free: 1.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.9375, allocations: 413.6 kB / 1.209 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.9375, allocations: 1.125 kB / 1.209 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.9376, allocations: 14.25 kB / 1.209 GB, free: 1.477 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.9376, allocations: 8.906 kB / 1.209 GB, free: 1.477 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.9381, allocations: 194.3 kB / 1.209 GB, free: 1.418 MB / 1.076 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.001842/0.94, allocations: 1.096 MB / 1.21 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.9405, allocations: 145.3 kB / 1.21 GB, free: 0.543 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.9407, allocations: 66.33 kB / 1.211 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.9408, allocations: 8.391 kB / 1.211 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/0.9412, allocations: 233.4 kB / 1.211 GB, free: 328 kB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.9412, allocations: 0 / 1.211 GB, free: 328 kB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0007409/0.9419, allocations: 232.7 kB / 1.211 GB, free: 232 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.942, allocations: 54.88 kB / 1.211 GB, free: 168 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.9425, allocations: 332.8 kB / 1.211 GB, free: 15.98 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.9425, allocations: 31.67 kB / 1.211 GB, free: 15.95 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.9428, allocations: 222 kB / 1.212 GB, free: 15.76 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.9428, allocations: 55.2 kB / 1.212 GB, free: 15.72 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.943, allocations: 59.88 kB / 1.212 GB, free: 15.68 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.9432, allocations: 339 kB / 1.212 GB, free: 15.36 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.9434, allocations: 104.6 kB / 1.212 GB, free: 15.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.9437, allocations: 177.6 kB / 1.212 GB, free: 15.15 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.9442, allocations: 241.8 kB / 1.213 GB, free: 14.97 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9442, allocations: 3.938 kB / 1.213 GB, free: 14.97 MB / 1.092 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006925/0.9449, allocations: 342.8 kB / 1.213 GB, free: 14.78 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.9449, allocations: 37.98 kB / 1.213 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9449, allocations: 2.625 kB / 1.213 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.9449, allocations: 4.875 kB / 1.213 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.9452, allocations: 54.84 kB / 1.213 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.9452, allocations: 8.266 kB / 1.213 GB, free: 14.74 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.9454, allocations: 32.2 kB / 1.213 GB, free: 14.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.9455, allocations: 13.95 kB / 1.213 GB, free: 14.72 MB / 1.092 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.0001924/0.9457, allocations: 168.3 kB / 1.213 GB, free: 14.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.9457, allocations: 33.03 kB / 1.213 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.9462, allocations: 193 kB / 1.213 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.9462, allocations: 2.531 kB / 1.213 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9462, allocations: 3.938 kB / 1.213 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000577/0.9468, allocations: 483 kB / 1.214 GB, free: 13.99 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.9472, allocations: 254 kB / 1.214 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.9472, allocations: 0 / 1.214 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.9474, allocations: 33.22 kB / 1.214 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9474, allocations: 1.953 kB / 1.214 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.9474, allocations: 2.078 kB / 1.214 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9474, allocations: 1.375 kB / 1.214 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9474, allocations: 0.6562 kB / 1.214 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.9481, allocations: 290.7 kB / 1.214 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.9482, allocations: 48.33 kB / 1.214 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.9482, allocations: 6.094 kB / 1.214 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.9485, allocations: 13.38 kB / 1.214 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.9485, allocations: 16.97 kB / 1.214 GB, free: 13.62 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.9486, allocations: 15.62 kB / 1.214 GB, free: 13.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002583/0.9488, allocations: 229.6 kB / 1.215 GB, free: 13.5 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9488, allocations: 5.25 kB / 1.215 GB, free: 13.49 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004755/0.9493, allocations: 129.8 kB / 1.215 GB, free: 13.46 MB / 1.092 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.0003363/0.9496, allocations: 190.6 kB / 1.215 GB, free: 13.34 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005518/0.9502, allocations: 256.6 kB / 1.215 GB, free: 13.19 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9502, allocations: 0 / 1.215 GB, free: 13.19 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.9504, allocations: 69.09 kB / 1.215 GB, free: 13.17 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009413/0.9513, allocations: 195.3 kB / 1.216 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.9528, allocations: 0.7443 MB / 1.216 GB, free: 12.62 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.953, allocations: 187.8 kB / 1.216 GB, free: 12.53 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.9532, allocations: 58.17 kB / 1.216 GB, free: 12.52 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.9533, allocations: 36.61 kB / 1.217 GB, free: 12.5 MB / 1.092 GB Notification: Performance of SimCode: time 3.2e-07/0.9533, allocations: 3.938 kB / 1.217 GB, free: 12.5 MB / 1.092 GB Notification: Performance of Templates: time 0.01489/0.9682, allocations: 7.19 MB / 1.224 GB, free: 11.57 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.940052622929215]