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.000765/0.000765, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009805/0.001745, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006975/0.0006975, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008671/0.001565, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9571/0.9571, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08587/1.043, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.412/2.412, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2257/2.638, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.593e-06/1.593e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.286e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1317/0.1318, allocations: 147.9 MB / 0.9627 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004187/0.1359, allocations: 2.828 MB / 0.9655 GB, free: 11.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.1363, allocations: 31.75 kB / 0.9655 GB, free: 11.56 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.1368, allocations: 186.6 kB / 0.9657 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.1381, allocations: 0.7303 MB / 0.9664 GB, free: 10.64 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.139, allocations: 0.5456 MB / 0.967 GB, free: 10.1 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1405, allocations: 1.533 MB / 0.9685 GB, free: 8.562 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.1417, allocations: 420.3 kB / 0.9689 GB, free: 8.156 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.1432, allocations: 0.8844 MB / 0.9697 GB, free: 7.285 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.1437, allocations: 422.8 kB / 0.9701 GB, free: 6.871 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.1438, allocations: 52 kB / 0.9702 GB, free: 6.82 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.1444, allocations: 359.1 kB / 0.9705 GB, free: 6.469 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1446, allocations: 227.4 kB / 0.9707 GB, free: 6.246 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.1448, allocations: 203.6 kB / 0.9709 GB, free: 6.047 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000799/0.1456, allocations: 0.6348 MB / 0.9715 GB, free: 5.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.1456, allocations: 4 kB / 0.9716 GB, free: 5.406 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1456, allocations: 0 / 0.9716 GB, free: 5.406 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.1457, allocations: 0 / 0.9716 GB, free: 5.406 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.001092/0.1468, allocations: 0.916 MB / 0.9724 GB, free: 4.465 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1468, allocations: 12.62 kB / 0.9725 GB, free: 4.453 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/0.1476, allocations: 297.5 kB / 0.9727 GB, free: 4.145 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.1482, allocations: 402.3 kB / 0.9731 GB, free: 3.723 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.1482, allocations: 37.12 kB / 0.9732 GB, free: 3.688 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1483, allocations: 51.94 kB / 0.9732 GB, free: 3.637 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.1487, allocations: 0.5139 MB / 0.9737 GB, free: 3.055 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1487, allocations: 3.984 kB / 0.9737 GB, free: 3.051 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.1487, allocations: 20 kB / 0.9737 GB, free: 3.031 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.1488, allocations: 17 kB / 0.9738 GB, free: 3.012 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.149, allocations: 134.9 kB / 0.9739 GB, free: 2.879 MB / 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.00136/0.1504, allocations: 0.8965 MB / 0.9748 GB, free: 1.961 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1506, allocations: 188.9 kB / 0.9749 GB, free: 1.766 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.1507, allocations: 67.64 kB / 0.975 GB, free: 1.695 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.1507, allocations: 20 kB / 0.975 GB, free: 1.676 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1508, allocations: 42.55 kB / 0.9751 GB, free: 1.625 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.607e-06/0.1508, allocations: 3.984 kB / 0.9751 GB, free: 1.621 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0009761/0.1518, allocations: 0.5221 MB / 0.9756 GB, free: 1.066 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1518, allocations: 55.41 kB / 0.9756 GB, free: 1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.152, allocations: 311.3 kB / 0.9759 GB, free: 0.6836 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1521, allocations: 37.7 kB / 0.976 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1522, allocations: 217.5 kB / 0.9762 GB, free: 436 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1523, allocations: 122.9 kB / 0.9763 GB, free: 312 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.1524, allocations: 69.61 kB / 0.9764 GB, free: 236 kB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1525, allocations: 350.7 kB / 0.9767 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.1525, allocations: 46.59 kB / 0.9767 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1527, allocations: 145.1 kB / 0.9769 GB, free: 15.66 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.0004665/0.1531, allocations: 272.4 kB / 0.9771 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1531, allocations: 4 kB / 0.9771 GB, free: 15.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002562/0.1534, allocations: 185.4 kB / 0.9773 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1534, allocations: 7.938 kB / 0.9773 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1534, allocations: 7.938 kB / 0.9773 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1534, allocations: 4 kB / 0.9773 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.1537, allocations: 83.91 kB / 0.9774 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1537, allocations: 4 kB / 0.9774 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.1539, allocations: 11.98 kB / 0.9774 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1539, allocations: 12 kB / 0.9774 GB, free: 15.05 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.0001273/0.154, allocations: 139.5 kB / 0.9776 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.1541, allocations: 43.95 kB / 0.9776 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-05/0.1542, allocations: 52.19 kB / 0.9777 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1542, allocations: 4 kB / 0.9777 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1542, allocations: 0 / 0.9777 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001854/0.1544, allocations: 220.5 kB / 0.9779 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.1552, allocations: 0.7624 MB / 0.9786 GB, free: 13.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1552, allocations: 7.984 kB / 0.9786 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.1555, allocations: 98.66 kB / 0.9787 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.1558, allocations: 52.25 kB / 0.9788 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1558, allocations: 11.98 kB / 0.9788 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1558, allocations: 12 kB / 0.9788 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.1558, allocations: 11.94 kB / 0.9788 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1558, allocations: 7.938 kB / 0.9788 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.1562, allocations: 490.8 kB / 0.9793 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.1563, allocations: 16 kB / 0.9793 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1565, allocations: 22.55 kB / 0.9793 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1565, allocations: 27.91 kB / 0.9793 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.1566, allocations: 20.02 kB / 0.9794 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001114/0.1567, allocations: 132.6 kB / 0.9795 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1567, allocations: 0 / 0.9795 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004017/0.1571, allocations: 144 kB / 0.9796 GB, free: 12.58 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.0001966/0.1573, allocations: 116.3 kB / 0.9797 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1575, allocations: 174.5 kB / 0.9799 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/0.1575, allocations: 15.88 kB / 0.9799 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1576, allocations: 81.2 kB / 0.98 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.1585, allocations: 342.5 kB / 0.9803 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.1629, allocations: 0.9799 MB / 0.9813 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.163, allocations: 146 kB / 0.9814 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.1633, allocations: 80.16 kB / 0.9815 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.1638, allocations: 247 kB / 0.9817 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.1638, allocations: 0 / 0.9817 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of Templates: time 0.01412/0.1779, allocations: 10.98 MB / 0.9925 GB, free: 15.6 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.ref.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.444116334430873]