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.001276/0.001276, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009652/0.0009652, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9061/0.9061, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.321/2.321, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.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.673e-06/1.673e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.93e-05, allocations: 9.266 kB / 0.8897 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1266/0.1266, allocations: 145.3 MB / 1.032 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004195/0.1308, allocations: 2.755 MB / 1.034 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.1315, allocations: 27.75 kB / 1.034 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.1321, allocations: 182.6 kB / 1.035 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.1337, allocations: 0.7577 MB / 1.035 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1347, allocations: 0.5494 MB / 1.036 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.1363, allocations: 1.533 MB / 1.037 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.1369, allocations: 382.3 kB / 1.038 GB, free: 1.66 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.1384, allocations: 0.8349 MB / 1.039 GB, free: 0.8438 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.1391, allocations: 442.6 kB / 1.039 GB, free: 420 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.811e-05/0.1392, allocations: 52 kB / 1.039 GB, free: 368 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006546/0.1398, allocations: 355 kB / 1.039 GB, free: 12 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.14, allocations: 259.3 kB / 1.04 GB, free: 15.76 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.1403, allocations: 239.5 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1414, allocations: 0.7009 MB / 1.04 GB, free: 14.82 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1414, allocations: 0 / 1.04 GB, free: 14.82 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1414, allocations: 4 kB / 1.04 GB, free: 14.82 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.1414, allocations: 0 / 1.04 GB, free: 14.82 MB / 1.01 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.0009866/0.1424, allocations: 0.9196 MB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1424, allocations: 16.61 kB / 1.041 GB, free: 13.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006685/0.1431, allocations: 220.1 kB / 1.042 GB, free: 13.63 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.1438, allocations: 453 kB / 1.042 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.1438, allocations: 41.12 kB / 1.042 GB, free: 13.12 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.1439, allocations: 44 kB / 1.042 GB, free: 13.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.1443, allocations: 0.4956 MB / 1.043 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1443, allocations: 0 / 1.043 GB, free: 12.51 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.1443, allocations: 20 kB / 1.043 GB, free: 12.49 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.1444, allocations: 21 kB / 1.043 GB, free: 12.47 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.1446, allocations: 146.8 kB / 1.043 GB, free: 12.32 MB / 1.01 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.001449/0.146, allocations: 1.12 MB / 1.044 GB, free: 11.17 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1462, allocations: 165 kB / 1.044 GB, free: 11 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.1463, allocations: 75.62 kB / 1.044 GB, free: 10.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/0.1464, allocations: 23.98 kB / 1.044 GB, free: 10.89 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1464, allocations: 41.39 kB / 1.044 GB, free: 10.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=31): time 2.354e-06/0.1464, allocations: 0 / 1.044 GB, free: 10.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0009542/0.1474, allocations: 0.5525 MB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1474, allocations: 55.41 kB / 1.045 GB, free: 10.19 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.1477, allocations: 390.4 kB / 1.045 GB, free: 9.793 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1478, allocations: 33.7 kB / 1.045 GB, free: 9.754 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1479, allocations: 315.2 kB / 1.045 GB, free: 9.438 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/0.148, allocations: 122.9 kB / 1.046 GB, free: 9.316 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.1481, allocations: 75.33 kB / 1.046 GB, free: 9.234 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1482, allocations: 0.5273 MB / 1.046 GB, free: 8.695 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.1482, allocations: 35.97 kB / 1.046 GB, free: 8.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1484, allocations: 176.9 kB / 1.046 GB, free: 8.445 MB / 1.01 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.0003488/0.1487, allocations: 300.8 kB / 1.047 GB, free: 8.125 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1487, allocations: 0 / 1.047 GB, free: 8.125 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003064/0.149, allocations: 241 kB / 1.047 GB, free: 7.883 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.149, allocations: 11.94 kB / 1.047 GB, free: 7.871 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1491, allocations: 0 / 1.047 GB, free: 7.871 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1491, allocations: 4 kB / 1.047 GB, free: 7.867 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1493, allocations: 75.84 kB / 1.047 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1493, allocations: 0 / 1.047 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1494, allocations: 16.19 kB / 1.047 GB, free: 7.777 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.1495, allocations: 8 kB / 1.047 GB, free: 7.77 MB / 1.01 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.0001641/0.1496, allocations: 180.5 kB / 1.047 GB, free: 7.582 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.1497, allocations: 51.77 kB / 1.047 GB, free: 7.531 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/0.1498, allocations: 60.17 kB / 1.047 GB, free: 7.469 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1498, allocations: 4 kB / 1.047 GB, free: 7.465 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1498, allocations: 0 / 1.047 GB, free: 7.465 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002096/0.15, allocations: 244.3 kB / 1.048 GB, free: 7.195 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.151, allocations: 0.8554 MB / 1.048 GB, free: 6.238 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.151, allocations: 4 kB / 1.048 GB, free: 6.234 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.1512, allocations: 71.91 kB / 1.048 GB, free: 6.164 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1512, allocations: 8.5 kB / 1.048 GB, free: 6.156 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1512, allocations: 19.94 kB / 1.048 GB, free: 6.137 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1512, allocations: 11.98 kB / 1.048 GB, free: 6.125 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.1512, allocations: 7.938 kB / 1.048 GB, free: 6.117 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.1517, allocations: 0.5306 MB / 1.049 GB, free: 5.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1518, allocations: 79.7 kB / 1.049 GB, free: 5.422 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.1518, allocations: 15.92 kB / 1.049 GB, free: 5.406 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.152, allocations: 15.94 kB / 1.049 GB, free: 5.391 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.152, allocations: 39.92 kB / 1.049 GB, free: 5.352 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.1521, allocations: 19.94 kB / 1.049 GB, free: 5.332 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001201/0.1522, allocations: 243 kB / 1.049 GB, free: 5.102 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1522, allocations: 0 / 1.049 GB, free: 5.102 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004/0.1526, allocations: 144 kB / 1.05 GB, free: 4.961 MB / 1.01 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.0002348/0.1528, allocations: 139.1 kB / 1.05 GB, free: 4.816 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1531, allocations: 175.8 kB / 1.05 GB, free: 4.641 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1531, allocations: 3.938 kB / 1.05 GB, free: 4.637 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.1532, allocations: 97.16 kB / 1.05 GB, free: 4.539 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.154, allocations: 293.7 kB / 1.05 GB, free: 4.258 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.1554, allocations: 0.9974 MB / 1.051 GB, free: 3.156 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.1555, allocations: 153.9 kB / 1.051 GB, free: 2.988 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000265/0.1557, allocations: 80.14 kB / 1.051 GB, free: 2.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.1562, allocations: 294 kB / 1.052 GB, free: 2.621 MB / 1.01 GB Notification: Performance of SimCode: time 9.22e-07/0.1562, allocations: 4 kB / 1.052 GB, free: 2.617 MB / 1.01 GB Notification: Performance of Templates: time 0.411/0.5672, allocations: 10.35 MB / 1.062 GB, free: 69.58 MB / 1.01 GB " [Timeout remaining time 299] 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.875203268136829]