Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.0009871/0.0009871, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009676/0.0009676, allocations: 177 kB / 23.36 MB, free: 1.137 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.9256/0.9256, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.35/2.35, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.76e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1309/0.1309, allocations: 147.4 MB / 0.9825 GB, free: 10.23 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.1339, allocations: 2.82 MB / 0.9853 GB, free: 7.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.1342, allocations: 31.75 kB / 0.9853 GB, free: 7.379 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.1346, allocations: 178.7 kB / 0.9855 GB, free: 7.203 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.1357, allocations: 0.7498 MB / 0.9862 GB, free: 6.449 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.1364, allocations: 0.5572 MB / 0.9868 GB, free: 5.891 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1375, allocations: 1.536 MB / 0.9883 GB, free: 4.352 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.1378, allocations: 383 kB / 0.9886 GB, free: 3.969 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.1388, allocations: 0.8253 MB / 0.9895 GB, free: 3.156 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.1392, allocations: 414.8 kB / 0.9898 GB, free: 2.75 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.1393, allocations: 52 kB / 0.9899 GB, free: 2.699 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.1397, allocations: 347.1 kB / 0.9902 GB, free: 2.359 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.1398, allocations: 267.2 kB / 0.9905 GB, free: 2.098 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.14, allocations: 243.5 kB / 0.9907 GB, free: 1.859 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.1406, allocations: 0.701 MB / 0.9914 GB, free: 1.156 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1406, allocations: 0 / 0.9914 GB, free: 1.156 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1406, allocations: 3.938 kB / 0.9914 GB, free: 1.152 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1406, allocations: 0 / 0.9914 GB, free: 1.152 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.000753/0.1414, allocations: 0.7793 MB / 0.9922 GB, free: 356 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1414, allocations: 8.625 kB / 0.9922 GB, free: 348 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.142, allocations: 212.4 kB / 0.9924 GB, free: 136 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.1424, allocations: 390.5 kB / 0.9927 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.1424, allocations: 37.12 kB / 0.9928 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.1425, allocations: 59.88 kB / 0.9928 GB, free: 15.63 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.1428, allocations: 0.5101 MB / 0.9933 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1428, allocations: 3.984 kB / 0.9933 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.1429, allocations: 16 kB / 0.9934 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.1429, allocations: 21 kB / 0.9934 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1431, allocations: 126.8 kB / 0.9935 GB, free: 14.89 MB / 0.9636 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.001075/0.1441, allocations: 0.8888 MB / 0.9944 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.1445, allocations: 210.7 kB / 0.9946 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.1445, allocations: 67.62 kB / 0.9946 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.251e-05/0.1446, allocations: 23.98 kB / 0.9947 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1446, allocations: 34.56 kB / 0.9947 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.1446, allocations: 0 / 0.9947 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.0009047/0.1455, allocations: 0.513 MB / 0.9952 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.1456, allocations: 55.41 kB / 0.9952 GB, free: 13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1457, allocations: 311.4 kB / 0.9955 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1457, allocations: 33.7 kB / 0.9956 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1459, allocations: 233.4 kB / 0.9958 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.1459, allocations: 118.9 kB / 0.9959 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.146, allocations: 69.62 kB / 0.996 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003099/0.1463, allocations: 350.7 kB / 0.9963 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.1464, allocations: 34.81 kB / 0.9963 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.1465, allocations: 157.1 kB / 0.9965 GB, free: 11.65 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.1467, allocations: 266.8 kB / 0.9967 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1467, allocations: 0 / 0.9967 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002071/0.147, allocations: 189.4 kB / 0.9969 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.147, allocations: 10.19 kB / 0.9969 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.147, allocations: 3.938 kB / 0.9969 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.147, allocations: 7.984 kB / 0.9969 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1471, allocations: 63.92 kB / 0.997 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1471, allocations: 15.92 kB / 0.997 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.1473, allocations: 12 kB / 0.997 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1473, allocations: 4 kB / 0.997 GB, free: 11.06 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. 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 (42): * Single equations (assignments): 42 * 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 0.0001023/0.1474, allocations: 136.5 kB / 0.9972 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.1475, allocations: 44.08 kB / 0.9972 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.1475, allocations: 56.19 kB / 0.9973 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1475, allocations: 4 kB / 0.9973 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1475, allocations: 0 / 0.9973 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001421/0.1477, allocations: 216.4 kB / 0.9975 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.1484, allocations: 0.7664 MB / 0.9982 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1484, allocations: 4 kB / 0.9982 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.1485, allocations: 67.91 kB / 0.9983 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1485, allocations: 7.984 kB / 0.9983 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1486, allocations: 12 kB / 0.9983 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1486, allocations: 7.938 kB / 0.9983 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1486, allocations: 7.938 kB / 0.9983 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.1489, allocations: 496.7 kB / 0.9988 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1491, allocations: 63.72 kB / 0.9989 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.1491, allocations: 16 kB / 0.9989 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.1493, allocations: 21.98 kB / 0.9989 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1493, allocations: 27.91 kB / 0.9989 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.1493, allocations: 19.98 kB / 0.9989 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.585e-05/0.1494, allocations: 120.7 kB / 0.9991 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.31e-07/0.1494, allocations: 0 / 0.9991 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002925/0.1497, allocations: 156 kB / 0.9992 GB, free: 8.625 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (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 Backend phase and start with SimCode phase: time 0.0001811/0.1499, allocations: 132.1 kB / 0.9993 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1501, allocations: 160.9 kB / 0.9995 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1501, allocations: 4.375 kB / 0.9995 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.1502, allocations: 92.56 kB / 0.9996 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.1509, allocations: 289.3 kB / 0.9999 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1519, allocations: 0.9408 MB / 1.001 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.104e-05/0.152, allocations: 145.9 kB / 1.001 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000201/0.1522, allocations: 76.14 kB / 1.001 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.1526, allocations: 243.1 kB / 1.001 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of SimCode: time 7.41e-07/0.1526, allocations: 3.938 kB / 1.001 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of Templates: time 0.0116/0.1642, allocations: 10.37 MB / 1.011 GB, free: 12.34 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.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.523386157117784]