Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001833/0.001833, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002265/0.002265, allocations: 164.8 kB / 22.46 MB, free: 5.375 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.104/3.104, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.907e-05/4.076e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01826/0.0183, allocations: 13.43 MB / 0.9945 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006517/0.02482, allocations: 3.389 MB / 0.9978 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.02542, allocations: 23.81 kB / 0.9979 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008525/0.02627, allocations: 206.6 kB / 0.9981 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.02841, allocations: 0.6553 MB / 0.9987 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.02953, allocations: 414 kB / 0.9991 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.03119, allocations: 1.102 MB / 1 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.03167, allocations: 256.9 kB / 1 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.03317, allocations: 0.5609 MB / 1.001 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.03364, allocations: 275.1 kB / 1.001 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.03371, allocations: 32 kB / 1.001 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006153/0.03433, allocations: 219.4 kB / 1.001 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.03447, allocations: 103.6 kB / 1.002 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.0347, allocations: 147.7 kB / 1.002 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.03572, allocations: 0.6192 MB / 1.002 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.03573, allocations: 0 / 1.002 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.133e-06/0.03573, allocations: 4 kB / 1.002 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.03574, allocations: 0 / 1.002 GB, free: 6.516 MB / 0.9512 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.001349/0.03709, allocations: 0.6816 MB / 1.003 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.03713, allocations: 8.031 kB / 1.003 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.03736, allocations: 52.66 kB / 1.003 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.03818, allocations: 403.9 kB / 1.003 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.0382, allocations: 20.88 kB / 1.003 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.03827, allocations: 28.38 kB / 1.003 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.03899, allocations: 424.4 kB / 1.004 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.03901, allocations: 3.938 kB / 1.004 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.03905, allocations: 12 kB / 1.004 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.03907, allocations: 4 kB / 1.004 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.03958, allocations: 197.7 kB / 1.004 GB, free: 4.602 MB / 0.9512 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.001807/0.04139, allocations: 1.093 MB / 1.005 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.04187, allocations: 146.6 kB / 1.005 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.04205, allocations: 56.83 kB / 1.005 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.04216, allocations: 19.98 kB / 1.005 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/0.04255, allocations: 234.1 kB / 1.006 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.04255, allocations: 0 / 1.006 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0007365/0.04329, allocations: 232.3 kB / 1.006 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.04334, allocations: 51.41 kB / 1.006 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.04373, allocations: 328.5 kB / 1.006 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.04376, allocations: 29.7 kB / 1.006 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.04397, allocations: 232.3 kB / 1.006 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.04404, allocations: 59.52 kB / 1.006 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.04413, allocations: 57.64 kB / 1.007 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.04431, allocations: 342.8 kB / 1.007 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.04454, allocations: 101.7 kB / 1.007 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.04483, allocations: 171.1 kB / 1.007 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.04529, allocations: 245.8 kB / 1.007 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.04529, allocations: 4 kB / 1.007 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006696/0.04596, allocations: 340.5 kB / 1.008 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.04602, allocations: 33.7 kB / 1.008 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.04603, allocations: 4 kB / 1.008 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.04605, allocations: 4 kB / 1.008 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.04628, allocations: 55.91 kB / 1.008 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.04629, allocations: 7.984 kB / 1.008 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.04655, allocations: 36.12 kB / 1.008 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.04658, allocations: 12 kB / 1.008 GB, free: 0.5039 MB / 0.9512 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.0002293/0.04681, allocations: 161.7 kB / 1.008 GB, free: 344 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.04687, allocations: 35.75 kB / 1.008 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.04738, allocations: 192.4 kB / 1.008 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.04739, allocations: 3.984 kB / 1.008 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.04739, allocations: 8 kB / 1.008 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006143/0.04801, allocations: 487.7 kB / 1.009 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.04843, allocations: 245.1 kB / 1.009 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.04843, allocations: 0 / 1.009 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.04861, allocations: 39.91 kB / 1.009 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.04861, allocations: 0 / 1.009 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.04863, allocations: 4 kB / 1.009 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.04863, allocations: 0 / 1.009 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.04863, allocations: 0 / 1.009 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.04931, allocations: 295.2 kB / 1.009 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.04943, allocations: 47.77 kB / 1.009 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.04948, allocations: 0 / 1.009 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.04971, allocations: 19.98 kB / 1.009 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.04979, allocations: 15.97 kB / 1.009 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.04981, allocations: 7.984 kB / 1.009 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002629/0.05007, allocations: 231 kB / 1.01 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.05007, allocations: 3.938 kB / 1.01 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005088/0.05058, allocations: 131.7 kB / 1.01 GB, free: 14.47 MB / 0.9669 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.0004029/0.05098, allocations: 183.5 kB / 1.01 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005563/0.05154, allocations: 251.1 kB / 1.01 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.05154, allocations: 0 / 1.01 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.05174, allocations: 75.81 kB / 1.01 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.0527, allocations: 204.4 kB / 1.01 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.0542, allocations: 0.6414 MB / 1.011 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.05442, allocations: 181.1 kB / 1.011 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002164/0.05464, allocations: 63.19 kB / 1.011 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.05473, allocations: 40.48 kB / 1.011 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.05473, allocations: 3.938 kB / 1.011 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of Templates: time 0.01462/0.06935, allocations: 7.177 MB / 1.018 GB, free: 5.801 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.837835688143969]