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.001013/0.001013, allocations: 83.59 kB / 20.45 MB, free: 4.109 MB / 18.57 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.001028/0.001028, allocations: 165 kB / 23.82 MB, free: 0.7383 MB / 18.57 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 0.9918/0.9918, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.811/1.811, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.232e-06/1.232e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.042e-05, allocations: 4.078 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006487/0.006508, allocations: 7.286 MB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.009413, allocations: 2.485 MB / 0.8211 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.009662, allocations: 23.81 kB / 0.8211 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.01008, allocations: 132.2 kB / 0.8212 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0009742/0.01105, allocations: 0.5286 MB / 0.8217 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.01155, allocations: 370 kB / 0.8221 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009987/0.01255, allocations: 1.087 MB / 0.8231 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.0129, allocations: 265.1 kB / 0.8234 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007312/0.01363, allocations: 0.5207 MB / 0.8239 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.01395, allocations: 283.1 kB / 0.8242 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.01399, allocations: 35.44 kB / 0.8242 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.01422, allocations: 147.7 kB / 0.8243 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.0143, allocations: 95.61 kB / 0.8244 GB, free: 4.504 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.01443, allocations: 151.6 kB / 0.8246 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000534/0.01497, allocations: 414.5 kB / 0.825 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01497, allocations: 0 / 0.825 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01497, allocations: 0 / 0.825 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.01498, allocations: 0 / 0.825 GB, free: 3.949 MB / 0.7761 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.0009049/0.01588, allocations: 0.7714 MB / 0.8257 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.01592, allocations: 8.031 kB / 0.8257 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.01609, allocations: 72.59 kB / 0.8258 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.01662, allocations: 413.9 kB / 0.8262 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.01664, allocations: 28.8 kB / 0.8262 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.0167, allocations: 36.31 kB / 0.8263 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.01708, allocations: 371.3 kB / 0.8266 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.0171, allocations: 0 / 0.8266 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.01712, allocations: 12 kB / 0.8266 GB, free: 2.148 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.01714, allocations: 4 kB / 0.8266 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.01731, allocations: 103.7 kB / 0.8267 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.01844, allocations: 1.288 MB / 0.828 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.01867, allocations: 95.06 kB / 0.8281 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.01873, allocations: 36.83 kB / 0.8281 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/0.01882, allocations: 8 kB / 0.8281 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.019, allocations: 205.1 kB / 0.8283 GB, free: 316 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.019, allocations: 0 / 0.8283 GB, free: 316 kB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0002703/0.01927, allocations: 155.9 kB / 0.8285 GB, free: 156 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.0193, allocations: 56.31 kB / 0.8285 GB, free: 88 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.01957, allocations: 354.2 kB / 0.8289 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.01959, allocations: 29.7 kB / 0.8289 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01972, allocations: 274.4 kB / 0.8291 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.01976, allocations: 59.52 kB / 0.8292 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.01985, allocations: 59.31 kB / 0.8293 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01997, allocations: 0.5157 MB / 0.8298 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.02004, allocations: 57.67 kB / 0.8298 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.02014, allocations: 166.2 kB / 0.83 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.02035, allocations: 201 kB / 0.8302 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02036, allocations: 0 / 0.8302 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002768/0.02063, allocations: 277.4 kB / 0.8304 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.02066, allocations: 37.77 kB / 0.8305 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.02067, allocations: 7.984 kB / 0.8305 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.02069, allocations: 4 kB / 0.8305 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.02082, allocations: 63.84 kB / 0.8305 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.02083, allocations: 4 kB / 0.8305 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.02094, allocations: 23.84 kB / 0.8306 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.02096, allocations: 15.98 kB / 0.8306 GB, free: 13.79 MB / 0.7917 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.0001005/0.02106, allocations: 180.4 kB / 0.8308 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.0211, allocations: 35.81 kB / 0.8308 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.02129, allocations: 140.5 kB / 0.8309 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.02129, allocations: 0 / 0.8309 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.02129, allocations: 0 / 0.8309 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001926/0.02148, allocations: 427.8 kB / 0.8313 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.02173, allocations: 264.3 kB / 0.8316 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.02173, allocations: 0 / 0.8316 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.02181, allocations: 39.91 kB / 0.8316 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.02182, allocations: 0 / 0.8316 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.02183, allocations: 0 / 0.8316 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02183, allocations: 4 kB / 0.8316 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.02183, allocations: 4 kB / 0.8316 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.02212, allocations: 198.2 kB / 0.8318 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.02219, allocations: 47.72 kB / 0.8319 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.02222, allocations: 4 kB / 0.8319 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.02232, allocations: 15.98 kB / 0.8319 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.02236, allocations: 11.97 kB / 0.8319 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.02238, allocations: 11.98 kB / 0.8319 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001532/0.02253, allocations: 235 kB / 0.8321 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.02253, allocations: 0 / 0.8321 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002556/0.02279, allocations: 119.7 kB / 0.8322 GB, free: 11.93 MB / 0.7917 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.0001914/0.02298, allocations: 147 kB / 0.8324 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.0232, allocations: 192.7 kB / 0.8326 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0232, allocations: 0 / 0.8326 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.02326, allocations: 51.59 kB / 0.8326 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.02378, allocations: 207.4 kB / 0.8328 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.02481, allocations: 0.6428 MB / 0.8334 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.02486, allocations: 96.61 kB / 0.8335 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.02499, allocations: 63.19 kB / 0.8336 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.02505, allocations: 40.48 kB / 0.8336 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of SimCode: time 7.42e-07/0.02505, allocations: 0 / 0.8336 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of Templates: time 0.008189/0.03324, allocations: 6.649 MB / 0.8401 GB, free: 3.98 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Examples_ExpansionVessel.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.580415213946253]