Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.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.001435/0.001435, allocations: 79.77 kB / 20.88 MB, free: 3.383 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.006982/0.006982, allocations: 154.9 kB / 24.3 MB, free: 8.5 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.9476/0.9476, allocations: 177.2 MB / 204.8 MB, free: 5.395 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.344/2.344, allocations: 439.8 MB / 0.6846 GB, free: 12.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.MixingVolumes.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.[0-9,]+.|mWat|mWatExp|mAir|vol.C.[0-9,]+.|vol.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation") translateModel(Buildings.Fluid.MixingVolumes.Validation.MassAccumulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.Xi.[0-9,]+.|mWat|mWatExp|mAir|vol.C.[0-9,]+.|vol.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8402 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.924e-05, allocations: 2.312 kB / 0.8402 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MassAccumulation): time 0.135/0.135, allocations: 146.9 MB / 0.9837 GB, free: 9.969 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.138, allocations: 2.606 MB / 0.9863 GB, free: 7.355 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.1383, allocations: 23.81 kB / 0.9863 GB, free: 7.332 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.1387, allocations: 150.9 kB / 0.9864 GB, free: 7.184 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.1398, allocations: 0.6566 MB / 0.9871 GB, free: 6.523 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.1403, allocations: 423 kB / 0.9875 GB, free: 6.109 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009896/0.1413, allocations: 1.165 MB / 0.9886 GB, free: 4.941 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.1419, allocations: 313.3 kB / 0.9889 GB, free: 4.648 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.1428, allocations: 0.6417 MB / 0.9895 GB, free: 4.016 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003607/0.1431, allocations: 335 kB / 0.9899 GB, free: 3.688 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.529e-05/0.1432, allocations: 44 kB / 0.9899 GB, free: 3.645 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.1436, allocations: 343.1 kB / 0.9902 GB, free: 3.309 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.1438, allocations: 243.3 kB / 0.9905 GB, free: 3.07 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.144, allocations: 191.6 kB / 0.9906 GB, free: 2.883 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006111/0.1446, allocations: 0.6074 MB / 0.9912 GB, free: 2.273 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1446, allocations: 0 / 0.9912 GB, free: 2.273 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1446, allocations: 0 / 0.9912 GB, free: 2.273 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1446, allocations: 0 / 0.9912 GB, free: 2.273 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007449/0.1453, allocations: 0.6938 MB / 0.9919 GB, free: 1.551 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1454, allocations: 8.625 kB / 0.9919 GB, free: 1.543 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005811/0.1459, allocations: 188.5 kB / 0.9921 GB, free: 1.359 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.1463, allocations: 360.2 kB / 0.9924 GB, free: 0.9766 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1464, allocations: 29.12 kB / 0.9925 GB, free: 0.9492 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.1464, allocations: 47.94 kB / 0.9925 GB, free: 0.9023 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1467, allocations: 383.7 kB / 0.9929 GB, free: 500 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1468, allocations: 0 / 0.9929 GB, free: 500 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1468, allocations: 16 kB / 0.9929 GB, free: 484 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.1468, allocations: 13 kB / 0.9929 GB, free: 472 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.147, allocations: 121.8 kB / 0.993 GB, free: 348 kB / 0.948 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.001036/0.148, allocations: 0.8 MB / 0.9938 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1483, allocations: 213.3 kB / 0.994 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.1484, allocations: 52.59 kB / 0.9941 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.98e-05/0.1485, allocations: 35.92 kB / 0.9941 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1485, allocations: 34.56 kB / 0.9941 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 2.465e-06/0.1485, allocations: 0 / 0.9941 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.0003203/0.1488, allocations: 173.8 kB / 0.9943 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1488, allocations: 81.11 kB / 0.9944 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.149, allocations: 287.3 kB / 0.9946 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.149, allocations: 33.83 kB / 0.9947 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.1491, allocations: 205 kB / 0.9949 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1492, allocations: 95.19 kB / 0.995 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.213e-05/0.1493, allocations: 57.92 kB / 0.995 GB, free: 14.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004424/0.1497, allocations: 346.7 kB / 0.9953 GB, free: 13.83 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.1498, allocations: 27.38 kB / 0.9954 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.1499, allocations: 110.1 kB / 0.9955 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.15, allocations: 145.5 kB / 0.9956 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.15, allocations: 4 kB / 0.9956 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001813/0.1502, allocations: 164.7 kB / 0.9958 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1502, allocations: 4 kB / 0.9958 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1502, allocations: 4 kB / 0.9958 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.1502, allocations: 4 kB / 0.9958 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1504, allocations: 63.91 kB / 0.9958 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.1504, allocations: 4.188 kB / 0.9959 GB, free: 13.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1505, allocations: 23.83 kB / 0.9959 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1505, allocations: 15.98 kB / 0.9959 GB, free: 13.22 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 9.003e-05/0.1506, allocations: 132.5 kB / 0.996 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.1506, allocations: 31.97 kB / 0.996 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.1507, allocations: 47.38 kB / 0.9961 GB, free: 13 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1507, allocations: 0 / 0.9961 GB, free: 13 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1507, allocations: 7.938 kB / 0.9961 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002901/0.151, allocations: 275.2 kB / 0.9964 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.1515, allocations: 0.5582 MB / 0.9969 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1515, allocations: 4 kB / 0.9969 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.1518, allocations: 82.78 kB / 0.997 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1518, allocations: 7.984 kB / 0.997 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1518, allocations: 8 kB / 0.997 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1518, allocations: 3.938 kB / 0.997 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1518, allocations: 4.125 kB / 0.997 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.1521, allocations: 366.6 kB / 0.9974 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.1522, allocations: 55.67 kB / 0.9974 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1522, allocations: 8 kB / 0.9974 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1523, allocations: 11.98 kB / 0.9974 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.1523, allocations: 23.91 kB / 0.9975 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1524, allocations: 4 kB / 0.9975 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.1524, allocations: 116.7 kB / 0.9976 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1524, allocations: 0 / 0.9976 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002577/0.1527, allocations: 135.8 kB / 0.9977 GB, free: 11.22 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001783/0.1529, allocations: 120.2 kB / 0.9978 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.1533, allocations: 121.1 kB / 0.9979 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.1533, allocations: 4 kB / 0.9979 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.1534, allocations: 65.2 kB / 0.998 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.1539, allocations: 257.3 kB / 0.9982 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.155, allocations: 0.8488 MB / 0.9991 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.1552, allocations: 247.7 kB / 0.9993 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.1556, allocations: 201.2 kB / 0.9995 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.1556, allocations: 0 / 0.9995 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of Templates: time 0.006359/0.1619, allocations: 6.868 MB / 1.006 GB, free: 2.488 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation -emit_protected > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MassAccumulation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MassAccumulation.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: 6.479053459130228]