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.0008084/0.0008084, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.0009092/0.0009092, allocations: 172.9 kB / 23.02 MB, free: 1.559 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.9373/0.9373, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.081/2.081, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.452e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.006812/0.006837, allocations: 7.3 MB / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.01022, allocations: 2.485 MB / 0.8877 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/0.01062, allocations: 23.81 kB / 0.8877 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.01107, allocations: 135 kB / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.01213, allocations: 0.5321 MB / 0.8884 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.0128, allocations: 367.1 kB / 0.8887 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.01396, allocations: 1.09 MB / 0.8898 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.01437, allocations: 273.5 kB / 0.8901 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.01538, allocations: 0.549 MB / 0.8906 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.01578, allocations: 287.1 kB / 0.8909 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.01583, allocations: 32 kB / 0.8909 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.0161, allocations: 135.7 kB / 0.891 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.01619, allocations: 99.59 kB / 0.8911 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.01632, allocations: 155.6 kB / 0.8913 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.01688, allocations: 406.6 kB / 0.8917 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01689, allocations: 0 / 0.8917 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01689, allocations: 0 / 0.8917 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.0169, allocations: 0 / 0.8917 GB, free: 8.504 MB / 0.8542 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.0008372/0.01773, allocations: 0.7617 MB / 0.8924 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.01777, allocations: 8.031 kB / 0.8924 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.01795, allocations: 72.59 kB / 0.8925 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.01836, allocations: 359 kB / 0.8928 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.01838, allocations: 24.81 kB / 0.8928 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.01842, allocations: 32.38 kB / 0.8929 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.01881, allocations: 367.3 kB / 0.8932 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.01883, allocations: 4 kB / 0.8932 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.01885, allocations: 8 kB / 0.8932 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.01888, allocations: 12 kB / 0.8932 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.01905, allocations: 106.7 kB / 0.8933 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.02024, allocations: 1.29 MB / 0.8946 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.02046, allocations: 99.11 kB / 0.8947 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.02051, allocations: 35.67 kB / 0.8947 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.452e-05/0.02061, allocations: 11.98 kB / 0.8947 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.02078, allocations: 199.8 kB / 0.8949 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.02079, allocations: 0 / 0.8949 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002671/0.02105, allocations: 157.3 kB / 0.8951 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.02108, allocations: 55.41 kB / 0.8951 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.02132, allocations: 358.2 kB / 0.8955 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.02134, allocations: 29.7 kB / 0.8955 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.02146, allocations: 267.1 kB / 0.8958 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.0215, allocations: 51.59 kB / 0.8958 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.02164, allocations: 63.3 kB / 0.8959 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.02178, allocations: 0.5157 MB / 0.8964 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.02185, allocations: 57.67 kB / 0.8964 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.02196, allocations: 171.2 kB / 0.8966 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.02213, allocations: 203.7 kB / 0.8968 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02213, allocations: 0 / 0.8968 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002805/0.02241, allocations: 278.4 kB / 0.8971 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.02245, allocations: 33.7 kB / 0.8971 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.02245, allocations: 0 / 0.8971 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.02247, allocations: 4 kB / 0.8971 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.02262, allocations: 59.91 kB / 0.8971 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.02263, allocations: 4 kB / 0.8972 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.02275, allocations: 36.08 kB / 0.8972 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.02277, allocations: 12 kB / 0.8972 GB, free: 2.387 MB / 0.8542 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.0001108/0.02288, allocations: 176.5 kB / 0.8974 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.02292, allocations: 39.75 kB / 0.8974 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.02312, allocations: 140.3 kB / 0.8975 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.02313, allocations: 4 kB / 0.8975 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.02313, allocations: 0 / 0.8975 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002133/0.02334, allocations: 434.6 kB / 0.898 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.02362, allocations: 264.3 kB / 0.8982 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02363, allocations: 0 / 0.8982 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.02371, allocations: 31.92 kB / 0.8982 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.02372, allocations: 4 kB / 0.8982 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.02373, allocations: 4 kB / 0.8982 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.02373, allocations: 0 / 0.8982 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02373, allocations: 0 / 0.8982 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.02397, allocations: 202.4 kB / 0.8984 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.02404, allocations: 43.78 kB / 0.8985 GB, free: 0.9141 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.02407, allocations: 12 kB / 0.8985 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/0.02416, allocations: 7.984 kB / 0.8985 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.02422, allocations: 24 kB / 0.8985 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.02423, allocations: 8 kB / 0.8985 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001493/0.02438, allocations: 239 kB / 0.8988 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02438, allocations: 0 / 0.8988 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000301/0.02468, allocations: 119.7 kB / 0.8989 GB, free: 0.5156 MB / 0.8542 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.0002194/0.0249, allocations: 155 kB / 0.899 GB, free: 364 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.02513, allocations: 192.6 kB / 0.8992 GB, free: 148 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02513, allocations: 0 / 0.8992 GB, free: 148 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.02536, allocations: 47.59 kB / 0.8993 GB, free: 96 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.02591, allocations: 205.1 kB / 0.8994 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.02702, allocations: 0.635 MB / 0.9001 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.499e-05/0.02707, allocations: 96.61 kB / 0.9002 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.02724, allocations: 67.12 kB / 0.9002 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.0273, allocations: 32.48 kB / 0.9003 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of SimCode: time 7.91e-07/0.02731, allocations: 3.938 kB / 0.9003 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.009982/0.03729, allocations: 7.309 MB / 0.9074 GB, free: 7.879 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.410378654953092]